23.06.2014, 19:49
It has nothing to do with that, anyway..
The code is unfinished it's pretty much a test command.
pawn Код:
CMD:cuff(playerid,params[])
{
new playerb,string[128];
if(PlayerInfo[playerid][pFaction] == 0) return SendClientMessage(playerid,COLOR_GREY,"** You aren't authorized to use this command. **");
if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_GREY, "** /cuff [playerid] **");
if(Cuffed[playerb] == 1) return SendClientMessage(playerid,COLOR_GREY,"** The player is cuffed already **");
Handsup[playerb] = 0;
SetPlayerSpecialAction(playerb,SPECIAL_ACTION_CUFFED);
return 1;
}