What's wrong OMG... isFrozen variable. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What's wrong OMG... isFrozen variable. (
/showthread.php?tid=415984)
What's wrong OMG... isFrozen variable. -
PaulDinam - 15.02.2013
delete
Re: What's wrong OMG... isFrozen variable. -
PaulDinam - 15.02.2013
delete
Re: What's wrong OMG... isFrozen variable. -
2KY - 15.02.2013
pawn Код:
if(isFrozen[playerid] == true) return SCM(playerid, -1, "Playerid is already frozen.");
Try that and see if it gives you a different result.
Re: What's wrong OMG... isFrozen variable. -
PaulDinam - 15.02.2013
delete
Re: What's wrong OMG... isFrozen variable. -
2KY - 15.02.2013
You're using sscanf wrong. Use "u", like so.
pawn Код:
if( sscanf( params, "u", pid ) ) return SyntaxMSG(playerid, "/freeze [playerid]");
Re: What's wrong OMG... isFrozen variable. -
PaulDinam - 15.02.2013
delete