Jump to content

Special Actions

These are the IDs that can be set in the SetPlayerSpecialAction function or returned in the GetPlayerSpecialAction function.

 0 - SPECIAL_ACTION_NONE
 2 - SPECIAL_ACTION_USEJETPACK
 5 - SPECIAL_ACTION_DANCE1
 6 - SPECIAL_ACTION_DANCE2
 7 - SPECIAL_ACTION_DANCE3
 8 - SPECIAL_ACTION_DANCE4
 10 - SPECIAL_ACTION_HANDSUP
 11 - SPECIAL_ACTION_USECELLPHONE
 12 - SPECIAL_ACTION_SITTING *
 13 - SPECIAL_ACTION_STOPUSECELLPHONE

 

Special Actions were added in SA-MP 0.3 These special actions were added in SA-MP 0.3 and will not work in earlier versions!

 

 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 make the player perform the pissing animation with visible pee.

 

Add.png This special action was added in SA-MP 0.3e and will not work in earlier versions!

 

 24 - SPECIAL_ACTION_CUFFED ***        - Will force the player in to cuffs (hands are behind their back)

 

Add.png This special action was added in SA-MP 0.3x and will not work in earlier versions!

 

 25 - SPECIAL_ACTION_CARRY ***         - Will apply a 'carrying' animation to the player and make them unable to sprint, jump or punch


Notes

(*) These Special Actions cannot be set.

(**) Not defined by default.

(***) Special action's animation not working on skin ID 0 (CJ).

  Report Document
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.