08.10.2009, 19:02
How I can take a ciggar or a bottle in samp 0.3? I don't know how to do it. Thanks for all.
Originally Posted by MenaceX^
You don't take it, it's a special animation.
|
Originally Posted by MenaceX^
Check in the a_samp include. It must be there (Look for SPECIAL_ANIMATION_)
|
#define SPECIAL_ACTION_DRINK_BEER 20
#define SPECIAL_ACTION_SMOKE_CIGGY 21
#define SPECIAL_ACTION_DRINK_WINE 22
#define SPECIAL_ACTION_DRINK_SPRUNK 23
SetPlayerSpecialAction(playerID, actionID);
// For example:
SetPlayerSpecialAction(0, SPECIAL_ACTION_DRINK_BEER); // We use the macro incase of changes within sa-mp and ID 0 is you when you are self-hosting and you are alone!