Search Results
Why are you using mysql_free_result inside the if statement and outside it?
Won't it try to free the result twice?
185
Quote:
Originally Posted by TheBeastKhan
No it won't, the first one is hell fine, Becoz he got SetTimerEx(*Code*, playerid)
The playerid in it will kill only the Playerid...
What? If th...
156
Quote:
Originally Posted by Sew_Sumi
Why use the toggle, simply set his health so far up that it doesn't drop. And if it does start going down, just set it back up again.
Because they ...
567
Why don't you just save the timestamp and check if a number of seconds didn't pass yet.
169
You can use a repeating timer to change the AA value, so it will have a fade effect.
130
Quote:
Originally Posted by NixsaHD
I defined: TO TOP.
new LoginAttemps[MAX_PLAYERS];
forward public KickPlayer(playerid);
public KickPlayer(playerid) return Kick(playerid);
Sorry my b...
144
Did you add the variable at the top of your script like I have said?
Also remember to add
pawn Код:
LoginAttempts[playerid]=0;
Under OnPlayerConnect
144
At the top of your script
pawn Код:
new LoginAttemps[MAX_PLAYERS];forward public KickPlayer(playerid);public KickPlayer(playerid) return Kick(playerid);
Then edit your code in this part
pawn ...
144
Quote:
Originally Posted by ivndosos
I used your code but in-game I just couldn't get back from lobby, Your code is more complicated to be honest.
SetSpawnInfo bust be used before Spawn...
193
You don't set spawn Info before spawning
172
Basically you first check if they typed "money" or "wepon", then you check again the command params with "ui", which is always false, because there's "money" or "weapon after params
253
Use this function with 0 as second parameter
https://sampwiki.blast.hk/wiki/TogglePlayerClock
133
Quote:
Originally Posted by RoX123
Still same
Post function definition and forward line
339
Quote:
Originally Posted by Rolux
Yeah, you are right!
+ If you enter a vehicle you will become the last driver,so this command is useless.
Infact the last should be update only when th...
208
Forward it with the tag
Like
pawn Код:
forward Float:function(params);
339
Quote:
Originally Posted by Rolux
Its only works when you are sitting in a vehicle.
I didn't test it.
Код:
new lastDriver[MAX_VEHICLES] = -1; //-1 will mean that nobody used that car...
208
Toggle off case sensitivity. Maybe it's because of a !strcmp function with third parameter false.
279