Search Results
Actually its very well coded i saw something wrong i got a question tho, what did you use to calculate all the positions?
222
You got a few mistakes in it or thats just your way of scripting but other than that its a +1 from me!
222
You haven't created column X into your database, create it using phpMyAdmin.
36
You put it wrong
put this there instead of yours
pawn Код:
tssece = floatround(oldmoney * 5.9 / 100);preekset = floatround(pay / 100 * 12.5);
32
fwrite crashes the server if you don't correctly open the file and don't check that the file was correctly openeed.
People do it like this
pawn Код:
new File:file = fopen("nameoffile.txt", io_writ...
46
Here then
pawn Код:
CMD:stuck(playerid, params[]){Â Â new Float:Pos[3];Â Â if(IsPlayerInAnyVehicle(playerid))Â Â {Â Â Â Â GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);Â Â Â Â SetPl...
23
This was originally posted by the sa-mp wiki
Quote:
Note: Variables aren't reset until after OnPlayerDisconnect is called, so the values are still accessible in OnPlayerDisconnect.
...
39
Do it like this
pawn Код:
switch(language[playerid]) {Â Â Â Â Â Â case 0: {Â Â Â Â Â Â SendClientMessage(playerid,COLOR_GREEN,"*** Ciao!"); }Â Â Â Â Â Â case 1: {Â Â Â Â Â Â...
49
Stuck command?
pawn Код:
CMD:stuck(playerid, params[]){Â Â new Float:Pos[3];Â Â GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);Â Â SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]+1);Â Â Togg...
23
Quote:
Originally Posted by [uL]Pottus
You should round some of the creation position values to whole numbers otherwise it might look bad on lower resolutions.
Why is there the need for P...
299
Quote:
Originally Posted by Lidor124
new string[100000000] ? LOL
use string[128];
Thats still to many arrays that message wont even support 50 why would you give it 128 lol
54
Whyyyyyyyyyyyyyyyyyyyy would you use 1000000 string arrays just to send the player a message, use smaller arrays like 32-50.
54
Download streamer the latest version.
18
This should work
pawn Код:
case DIALOG_REGISTER:Â Â Â Â Â Â {Â Â Â Â Â Â Â Â if(response)Â Â Â Â Â Â Â Â {Â Â Â Â Â Â Â Â Â Â if(!strlen(inputtext))Â Â Â Â Â Â ...
27
Learn to use while-loops and use a single query not 100.
pawn Код:
forward LoadBuilding();public LoadBuilding(){Â Â new arrCoords[11][64];Â Â new row[512], idx;Â Â Â Â mysql_query("SELECT...
26
I'M TRYING TO SHOW THE TEXTDRAW FOR ONLY ONE PLAYER THAT JOINS THE SERVER FOR EACH PLAYER ITS HIS NAME THAT SHOWS UP FOR FUCKING EXAMPLE IF I login with the name Liam_Wells it will show me
pawn КоÐ...
29
Quote:
Originally Posted by thomaswilliams
Use textdraw editor
Seriously? what the fuck is this you imbecil read before posting
29
I know how to create a textdraw smartass re read my post..
29
This is just a simple textdraw that show when a player is ig but if i put it under ongamemodeinit there is no 'playerid' definition there so it will come errors and i've also tried doing this
pawn К...
29