GetPlayerSpecialAction
From SA-MP Wiki
GetPlayerSpecialAction
Returns what special action the player is using
(playerid)
| playerid | The player who you want to get the special action of |
| Returns | Returns 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.
- SetPlayerSpecialAction: Set a player's special action.
