SpecialActions

From SA-MP Wiki

Jump to: navigation, search

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

Warning: This is a new function working since SA-MP 0.3. It won't work in previous 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

Notes (*) These Special Actions cannot be set.

Personal tools
In other languages