Help /cuff command not working - 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: Help /cuff command not working (
/showthread.php?tid=441256)
Help /cuff command not working -
jueix - 02.06.2013
Ok So when I type the command /cuff It come's up with the message Cuffed but no animation with cuff's behind back, Trying to make it like the pr-rp /cuff system where hand cuff come's behind back. Here is my code, Can anyone help?
pawn Код:
COMMAND:cuff(playerid, params[])
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_CUFFED);
SendClientMessage(playerid, COLOR_ORANGE,"Cuffed");
return 1;
}
Re: Help /cuff command not working -
jueix - 02.06.2013
Fixed
Re: Help /cuff command not working -
zT KiNgKoNg - 02.06.2013
I can look at that and tell you didn't know what you were trying to do
pawn Код:
CMD:cuff(playerid,params, wantedid)
{
if(sscanf(params,"i", wantedid)) return SendClientMessage(playerid,-1,"Syntax: /cuff [playerid]");
// Now use wanted id for the person you want to cuff and send the cuffed message too
}