From SA-MP Wiki

Revision as of 18:39, 16 August 2017; view current revision
←Older revision | Newer revision→
Jump to: navigation, search


Retrieves a player's current special action.

playeridThe ID of the player to get the special action of.

Return Values:

The special action of the player.

Example Usage:

public OnPlayerUpdate(playerid)
    // Ban players if they have a jetpack
    if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
    return 1;

Related Functions

The following functions may be helpful as they relate to this function in one way or another.

Personal tools
In other languages