GetPlayerSpecialAction

From SA-MP Wiki

Jump to: navigation, search

GetPlayerSpecialAction


Returns what special action the player is using


Parameters:
(playerid)
playeridThe player who you want to get the special action of


ReturnsReturns the Special Action of the player(playerid)


if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
{
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
}

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools