Problem with SetPlayerSpecialAction
#3

It has nothing to do with that, anyway..
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;
}
The code is unfinished it's pretty much a test command.
Reply


Messages In This Thread
Problem with SetPlayerSpecialAction - by TonyII - 23.06.2014, 19:37
Re: Problem with SetPlayerSpecialAction - by Dziugsas - 23.06.2014, 19:46
Re: Problem with SetPlayerSpecialAction - by TonyII - 23.06.2014, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)