Help /cuff command not working
#1

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;
}
Reply
#2

Fixed
Reply
#3

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

}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)