SetPlayerSpecialAction

From SA-MP Wiki

Jump to: navigation, search

This Function allows to set players special action


Parameters:
(playerid, actionid)
playeridThe player that should perform the action
actionidThe action that should be performed.


ReturnsThis function doesn't return a specific value.


if(strcmp(cmd, "/handsup", true) == 0)
{
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools
In other languages