13.06.2014, 14:16
Did you even test it because I'm fairly sure you aren't meant to upload untested code,
you need the (playerid) parameter at the end of the functions otherwise it won't work.. Also as ****** said actually document it because just randomly creating something that may or may not be useful just so the spammers can say "Great work +rep", I'm not necessarily saying that was your intention but it does seem to be happening a lot.
And is QuitPlayerArmour supposed to just lower the armour? Because just from the name of the function you can't really see that. The point of the name is to be easily understood, SendClientMessage (Oh we're sending the client a message, makes sense! Not we're qutting the players armour?).
Those are some harsh words.
pawn Код:
if(GetPlayerInterior == 0 && GetPlayerVirtualWorld == 0) return SendClientMessage(playerid, -1, "{ff0000}You are not bugged.");
And is QuitPlayerArmour supposed to just lower the armour? Because just from the name of the function you can't really see that. The point of the name is to be easily understood, SendClientMessage (Oh we're sending the client a message, makes sense! Not we're qutting the players armour?).
Those are some harsh words.