warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
Special Actions
This page compiles the list of all the player special actions used by GetPlayerSpecialAction and SetPlayerSpecialAction functions. Both pages contain examples on how to use the values below.
warning
Special actions marked with * cannot be set using SetPlayerSpecialAction.
ID | Action | Description |
---|---|---|
0 | SPECIAL_ACTION_NONE | Clears player of special actions |
2 | SPECIAL_ACTION_USEJETPACK | Will make the player using jetpack |
5 | SPECIAL_ACTION_DANCE1 | Applies dancing animation for player |
6 | SPECIAL_ACTION_DANCE2 | Applies dancing animation for player |
7 | SPECIAL_ACTION_DANCE3 | Applies dancing animation for player |
8 | SPECIAL_ACTION_DANCE4 | Applies dancing animation for player |
10 | SPECIAL_ACTION_HANDSUP | Will make the player put hands up |
11 | SPECIAL_ACTION_USECELLPHONE | Will make the player speaking on cellphone |
12 | SPECIAL_ACTION_SITTING * | Detects if the player is sitting |
13 | SPECIAL_ACTION_STOPUSECELLPHONE | Makes players stop using cellphone |
1 | SPECIAL_ACTION_DUCK * | Detect if the player is crouching. |
3 | SPECIAL_ACTION_ENTER_VEHICLE * | Detect if the player is entering a vehicle via an animation. |
4 | SPECIAL_ACTION_EXIT_VEHICLE * | Detect if the player is exiting a vehicle via an animation. |
20 | SPECIAL_ACTION_DRINK_BEER | Will increase the player's drunk level when used |
21 | SPECIAL_ACTION_SMOKE_CIGGY | Will give the player a cigar. |
22 | SPECIAL_ACTION_DRINK_WINE | Will give the player a wine bottle to get drunk from |
23 | SPECIAL_ACTION_DRINK_SPRUNK | Will give the player a sprunk bottle to drink from |
68 | SPECIAL_ACTION_PISSING | Will make the player perform the pissing animation with visible pee (the macro is not present in the SA-MP include files). |
24 | SPECIAL_ACTION_CUFFED | Will force the player in to cuffs (hands are behind their back) (does not work on CJ skin). |
25 | SPECIAL_ACTION_CARRY | Will apply a 'carrying' animation to the player and make them unable to sprint, jump or punch (does not work on CJ skin). |