08.10.2013, 13:21
pawn Код:
new bool:HandsAreUp[MAX_PLAYERS];
CMD:handsup(playerid, params[])
{
//do the animation
HandsAreUp[playerid] = true;
return 1;
}
CMD:cuff(playerid,params[])
{
//sscanf code.
if(!HandsAreUp[targetid]) SendClientMessage(playerid,-1,"ERROR: That person's hands are not up!");
//cuff animation code - setting objects etc.
return 1;
}