SA-MP Forums Archive
Please Help me in this script!! - 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: Please Help me in this script!! (/showthread.php?tid=484329)



Please Help me in this script!! - Lloyde - 30.12.2013

What is the problem here in my script ...





Re: Please Help me in this script!! - SilentSoul - 30.12.2013

Show us your full command here , on [pawn]your codes here! [ /pawn] without the spaces.


Re: Please Help me in this script!! - Konstantinos - 30.12.2013

Change its declaration from:
pawn Код:
new pCuffed;
to:
pawn Код:
new pCuffed[MAX_PLAYERS];



Re: Please Help me in this script!! - Lloyde - 30.12.2013




Re: Please Help me in this script!! - rakshith122 - 30.12.2013

Try this
pawn Код:
if(Iscuffed[ID] == 0)return SendClientMessage(playerid, COLOR_GREY, "This player must be cuffed")



Re: Please Help me in this script!! - Lloyde - 30.12.2013

PHP код:
C:\Documents and Settings\Jjion\Desktop\MCRP\gamemodes\TSRP.pwn(25056) : error 017undefined symbol "Iscuffed"
C:\Documents and Settings\Jjion\Desktop\MCRP\gamemodes\TSRP.pwn(25056) : warning 215expression has no effect
C
:\Documents and Settings\Jjion\Desktop\MCRP\gamemodes\TSRP.pwn(25056) : error 001expected token";"but found "]"
C:\Documents and Settings\Jjion\Desktop\MCRP\gamemodes\TSRP.pwn(25056) : error 029invalid expressionassumed zero
C
:\Documents and Settings\Jjion\Desktop\MCRP\gamemodes\TSRP.pwn(25056) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors




Re: Please Help me in this script!! - SickAttack - 30.12.2013

Well lol

if(pCuffed[ID] == 0) return SendClientMessage(playerid, COLOR_GREY, "This player must be cuffed");

You frogot the ;