animation check
#4

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


Messages In This Thread
animation check - by xdarren - 08.10.2013, 12:14
Re: animation check - by Rapgangsta - 08.10.2013, 13:10
Re: animation check - by xdarren - 08.10.2013, 13:15
Re: animation check - by EiresJason - 08.10.2013, 13:21
Re: animation check - by xdarren - 08.10.2013, 13:46
Re: animation check - by xdarren - 08.10.2013, 13:50
Re: animation check - by EiresJason - 08.10.2013, 13:52
Re: animation check - by xdarren - 08.10.2013, 13:54
Re: animation check - by EiresJason - 08.10.2013, 14:06

Forum Jump:


Users browsing this thread: 3 Guest(s)