Search Results
They both do the same thing, but I would recommend OnPlayerStateChange
226
Код: new level; if (sscanf(params, "ud", userid, level)) PlayerInfo[userid][pVIP] = level;
105
In the sscanf; Код: if(sscanf(params, "s[50]s[50]", otherPlayer, reason)) return SendClientMessage(playerid, -1, "{FF0000}[ERROR] {FFFFFF}Usage: /oban <playername> <reason>"); Why is ...
172
You are missing a callback, all that part of the tutorial is I just creating the commands. It does mute the player from the chat without OnPlayerText.
533
You have to make a detection of the wanted level when processing the command in-order to make it work the way you want.
177
Show us the randommap1 function. I assume it's meant to be Код: new gMap1 = random(sizeof(gMapSpawns1)); new gMap2 = random(sizeof(gMapSpawns2));
58
Alternatively, you could use Vince's version. http://forum.sa-mp.com/showpost.php?...postcount=4319
69
You guys are making such a simple command to look like the most complex one when it doesn't have to be so difficult.
123
We can't really help without seeing the script that is causing this.
72
There are many tutorials to be with MySQL, It's the case of searching in forums.
137
I would suggest using MySQL, because in the future you can always make a user control panel or you want to attach database to websites. I would recommend this. As for the speed comparison, I would sa...
137
Show us the HTTP(..) request with the URL. I don't think it would be caused by the pawn. It depends on the HTTP response (html/php)
240
If you wanted to add more fields into the table you would just simply add this into the SQL; Код: `field_name` int(11) NOT NULL, Jasperschellekens was correct, you were attempting to add more fie...
156
Don't compile the included files. All you need to complete is the main script.
6,681
Quote: Originally Posted by iConvict That's a terrible combination. A recipe for disaster.
229
This might help you, https://sampwiki.blast.hk/wiki/Gettime gettime() return a unix timestamp.
62
Код: SELECT * `RESPECT` FROM `players` WHERE `RESPECT` > 0 ORDER BY `RESPECT` DESC LIMIT 0, 10 Turn it into this: Код: SELECT `RESPECT` FROM `players` WHERE `RESPECT` > 0 ORDER BY `RESP...
150
Staying on topic of this thread, you had the right idea with the code itself, just didn't set it up correctly. Using sscanf you can set a default value if the param is not used. EDIT: Use @Arthur Ka...
131
Good point. My brain isn't active at this time. I'll keep quiet until my brain is awake.
177