-
Posts
275 -
Joined
-
Last visited
Everything posted by uhm
-
like 650 kbps so pretty fast is this your question?
-
did you try reconnecting? the serverfiles not downloading should not be related to logging in with incorrect information though
-
yeah camtasia is no hero at recording directx output i believe try fraps or xfire's screenrecorder
-
ah ok that doesnt have to be a problem, but if you want it fixed there's two possibilities that may cause the problem: 1) your dns server doesnt resolve localhost right; to fix: 2) the config of your webserver program somehow blocks the use of that hostname actually that localhost thing may be the very cause that you got that error of "Host 'DELL-PC' is not allowed to connect to this Mysql database server" in the first place. is that solved now? I think you should really check your host file (step 1) and check if it doesnt weirdly resolve to your external ip or an internal network ip
-
oh that's no good. could you connect before? did you remove the root account before adding a new one? is the mysql server running on the same server as the php server with phpMyAdmin? windows or linux?
-
it's about the "Host" box in the form you must create a new user to allow for it
-
On the client, because think of it this way: if you'd pass the instructions to some player element, the server still wouldn't know what is meant. It needs the absolute object reference which is returned by the instructions. Therefore, the client always evals the instructions before sending them to the server.
-
In your code, you put this: dxDrawText(playerZoneName, 700, screenHeight - 41, screenWidth, screenHeight, 0xff0000, 1.02, myFont, "left", "top", true) Can you show me the code how you declare screenWidth and screenHeight? Or, if you put in static numbers (like screenWidth = 1280) then just replace those lines (for screenWidth and screenHeight) by the following: screenWidth,screenHeight=guiGetScreenSize() If you already have this, then it should work already
-
Well, the text will be drawn 41 pixels above the border at the bottom of any screen resolution, so indeed, it's not the same: For (1280)x720 it will be drawn at 679 px from the top and on (1440)x1080 it will be drawn at 1039px from the top. This is the desired behaviour, right? That the text is drawn like the blue paint squiggle in the following image:
-
Then you would use what you already had for the top-position (y-position) parameter: e.g. screenHeight - 41
-
To get it in the center, take in mind the following: screenWidth,screenHeight=guiGetScreenSize(); The x-middle of the viewport is screenWidth / 2 The y-middle is screenHeight / 2 To get the element drawn on center, subtract the (element's width / 2) and height/2 also, because you're drawing text, make sure to set the alignment parameters to "center" and "center" -- example from other topic -- viewtopic.php?f=91&t=50913 x,y=guiGetScreenSize(); elementPositionX = x / 2 - 300 / 2; elementPositionY = y - 70; guiCreateLabel ( elementPositionX , elementPositionY , 300, 70, "at emt they serve it up", false ); Regarding the colour, you specified "0xff0000", which is not hexadecimal RGBA, but RGB. Use "0xffff0000" for opaque red or "0xff00000" for opaque black.
-
did you include it in meta.xml? <file src="futurebq.ttf" /> also Castillo's way of creating before and not within the onClientRender event is preferable performance wise
-
Just ask them to do it for you, you bought a service after all... After it's installed check out the Configuration in the Server Manual on the Wiki
-
You might want to check out this page that uses global variables to store data in. However, it is for MySQL and I'm not sure about SQLite. If it doesn't work, the method of a one-row table isn't that shameful or bad practice. I too have a table called "config", in which I just store only a couple of rows. The names of the columns are "key" and "setting". Nicely semantic and functional.
-
Yes, the best solution is the one most unspoken. To just get someone who already has GTASA v1.0 and to let them send you gta_sa.exe. Once you have it, simply copy and overwrite it in your San Andreas installation directory. I shall provide you a download link by PM.
-
I just ran WhatTheFont on top left part from that image you specified: http://wiki.sa-mp.com/wroot/images2/2/2 ... _Fonts.png Check these out: http://www.myfonts.com/fonts/berthold/f ... demi-bold/ http://www.myfonts.com/fonts/dtptypes/g ... s-dt/bold/
-
check out this page http://www.gta-sanandreas.com/downloads/
-
you can't just set some variable, you need to use functions for that check out the wiki to find out which function you need function changePos( attacker, weapon, bodypart, loss ) if (weapon == 5) then setElementPosition(source, -2616.5964, -2823.8984, 5.7695) setElementInterior (source, 0 ) --interior=0 setElementDimension (source, 0 ) --dimention=0 end end addEventHandler("onPlayerDamage", root, changePos)
-
Check out Example 2 at https://wiki.multitheftauto.com/wiki/EngineLoadTXD But the problem is that you would need those custom objects SAMP added (.TXD and .DFF) Those are in C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\SAMP.img You can extract those files using Spark IMG Editor available at GTAGarage Then there's the point of COL files for collision. Extract AllSAMPCOLs.col from SAMPCOL.img using Spark. It's one file, because it's a library for all of SAMPs objects. Unfortunately, a library file isn't allowed by the MTA function engineLoadCOL. You can use Collision File Editor II to split it into files per object. I can't provide further support on this, because I have never done this myself either.
-
EDIT: this probably doesn't work Question 2 I'm guessing just the entirety of the resources folder, lol But I might be wrong, I haven't ever used this feature Question 1 I'm not sure if Dropbox can be used in this kind of context and if it is within TOS to use it as a CDN, but it might be worth a try: You must use the pre-made public folder in your dropbox root, because you can't create any yourself. In that folder you could make a subfolder named ERS. Then find out the public directory URL by going to https://www.dropbox.com/home/public/ERS On there, right-click on any file or go into a directory and find any file. Choose Copy Public Link. It will give you something like: [url=http://dl.dropbox.com/u/43894345/ERS/somefile.any]http://dl.dropbox.com/u/43894345/ERS/somefile.any[/url] Copy the first part, like so: http://dl.dropbox.com/u/43894345/ERS and put this in your mtaserver.conf <httpdownloadurl>[url=http://dl.dropbox.com/u/43894345/ERS]http://dl.dropbox.com/u/43894345/ERS[/url]</httpdownloadurl>
-
dont put quotes around tables, for they are not strings also not around column names, for you don't want it to return the string 'id' either like so local factionID = tonumber(getElementData(theTeam, "id")) local vehicleID = exports.mysql:query("SELECT id FROM vehicles WHERE faction= '".. factionID .."'") not sure if this actually fixes it though, that error doesnt imply a syntax error. it should have succeeded at the call, but return nil. is this how exports work?
-
Does this section on the wiki help you? https://wiki.multitheftauto.com/wiki/Ser ... web_server
-
yeah they added a bunch of custom objects http://wiki.sa-mp.com/wiki/Objects_0.3c you could use the engine functions to add those too i suppose
-
minecraft is really heavy though also at least 1 gb ram definitely, ram is the bottleneck in my experience
