Special action handsup problem [rep++]
#1

My problem is this - I can't get a player to put their hands down after they have put them up.

pawn Код:
CMD:noaction(playerid, params[])
{
    #pragma unused params
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
    return 1;
}

CMD:cuff(playerid, params[])
{
    #pragma unused params
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);
    return 1;
}

CMD:hands(playerid, params[])
{
    #pragma unused params
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_HANDSUP);
    return 1;
}
I can use the command /cuff and the command /noaction to cuff and uncuff the player, but /noaction will not put the players hands down. Why not, and how can I work around this?

*edit* I've done some more testing, and sometimes it works fine. Is there possibly something I don't know about SetPlayerSpecialAction?
Reply
#2

try

pawn Код:
CMD:noaction(playerid, params[])
{
    #pragma unused params
    ClearAnimations(playerid);
    return 1;
}
Reply
#3

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
try

pawn Код:
CMD:noaction(playerid, params[])
{
    #pragma unused params
    ClearAnimations(playerid);
    return 1;
}
Ok, that was actually pretty simple, thanks for your assistance and rep++
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)