Preskoči na vsebino

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.

opozorilo

Special actions marked with * cannot be set using SetPlayerSpecialAction.

IDActionDescription
0SPECIAL_ACTION_NONEClears player of special actions
2SPECIAL_ACTION_USEJETPACKWill make the player using jetpack
5SPECIAL_ACTION_DANCE1Applies dancing animation for player
6SPECIAL_ACTION_DANCE2Applies dancing animation for player
7SPECIAL_ACTION_DANCE3Applies dancing animation for player
8SPECIAL_ACTION_DANCE4Applies dancing animation for player
10SPECIAL_ACTION_HANDSUPWill make the player put hands up
11SPECIAL_ACTION_USECELLPHONEWill make the player speaking on cellphone
12SPECIAL_ACTION_SITTING *Detects if the player is sitting
13SPECIAL_ACTION_STOPUSECELLPHONEMakes players stop using cellphone
1SPECIAL_ACTION_DUCK *Detect if the player is crouching.
3SPECIAL_ACTION_ENTER_VEHICLE *Detect if the player is entering a vehicle via an animation.
4SPECIAL_ACTION_EXIT_VEHICLE *Detect if the player is exiting a vehicle via an animation.
20SPECIAL_ACTION_DRINK_BEERWill increase the player's drunk level when used
21SPECIAL_ACTION_SMOKE_CIGGYWill give the player a cigar.
22SPECIAL_ACTION_DRINK_WINEWill give the player a wine bottle to get drunk from
23SPECIAL_ACTION_DRINK_SPRUNKWill give the player a sprunk bottle to drink from
68SPECIAL_ACTION_PISSINGWill make the player perform the pissing animation with visible pee (the macro is not present in the SA-MP include files).
24SPECIAL_ACTION_CUFFEDWill force the player in to cuffs (hands are behind their back) (does not work on CJ skin).
25SPECIAL_ACTION_CARRYWill apply a 'carrying' animation to the player and make them unable to sprint, jump or punch (does not work on CJ skin).