Search Results
First print the values to see what is happening. Like this:
pawn Код:
new string[254];format(string, sizeof(string), "ohp: %f, oar: %f", ohp, oar);SendClientMessage(playerid, 0xFFFFFFFF, string);...
77
Read this: https://sampforum.blast.hk/showthread.php?tid=543002
61
If you enter the correct password you need to skip this lines from execute:
pawn Код:
ShowPlayerDialog(playerid, LoginDialog, DIALOG_STYLE_PASSWORD, "Trucking: {FFFF00}Login", "Welcome Back Truck...
125
Download from this page: https://github.com/maddinat0r/sscanf/releases your version of sscanf and put the file sscanf.inc in your includes folder inside pawno compiler folder. Then compile again your ...
79
Try to use the native function:
PHP код:
if(IsPlayerInRangeOfPoint(playerid,4.0,CivilianCheckPoint[Xcp1],CivilianCheckPoint[Ycp1],CivilianCheckPoint[Zcp1]))
https://sampwiki.blast.hk/wi...
89
You can use the function strcat to add the clan tag until check if the player is online.
Example:
PHP код:
new clantag[40] = "[LOK]";
strcat(clantag, GetPName(playerto));
I make a f...
119
Quote:
Originally Posted by Skinnz
Hello i have a problem loading mysql :
PHP код:
iJoueur[playerid][Argent] = cache_get_field_content_int(0, "argent");
printf("%d $",iJoueur[pl...
114
Quote:
Originally Posted by Dusan01
hmm, i dont think so, what will happen if there is more then 2 results, witch one will select for execute? thats just protection from something... if fi...
154
Quote:
Originally Posted by MarkNelson
now look
Код:
error 013: no entry point (no public functions)
this happend to me after editing it and when i attempted to compile
Don't compil...
172
Try editing mapandreas.inc to this:
Код:
// MapAndreas 1.2.1
// 20.7.2014
// Originally created by Kalcor, updated by Mauzen and Pamdex
#define MAP_ANDREAS_MODE_NONE 0
#define MAP_ANDREAS_MODE...
172
Quote:
Originally Posted by Dusan01
Mhm, i had same problem with sscanf parameter U, player is online, but after few hour of playing on server, it gets buggy, so i found a fix by ******, j...
154
Quote:
Originally Posted by Sreyas
i can simply tell with example
random(2) gives two possible outputs 0 and 1 that means random(x) gives 0 to x-1 numbers
so to find range of random the ...
126
Quote:
Originally Posted by MarkNelson
Diego. You mean i have old version? i must download the latest one from that link?
You can download here: https://sampforum.blast.hk/showthread.p...
172
Use this .inc
http://pastebin.com/EWrfVDgb
172
Search in your code
PHP код:
"CMD:pm"
or "pm" until you found the command code.
154
Search in your code TXT_SpeedometerCannotUseVehicle to see the content of the string and show it.
95
Quote:
Originally Posted by Sreyas
you know that wont work right? +1 is also required
Why?
126
The warning is because you don't used the variable in any function or anything you ONLY assign a value.
Example:
PHP код:
DestroyPlayerObject(playerid, barrel);
153
Yes:
pawn Код:
SetTimerEx("TestTimer", 20000+(random(40)*1000), false, "i", playerid);
126