Detect animation or increase hp
#1

I want to a function to detect if the player hp is increasing something like if (GetPlayerHealth(playerid, health+5)) (this don't work ) ) or a function to detect animation VEND_Drink_P for example i would prefer the hp incresing but ....
pls help 3
P.S. I will release the script if i can get it to work( a vomit script ).
Reply
#2

The vending action is known as a Special Action and I believe it can be detected using GetPlayerSpecialAction.

Take a look: Special Actions
Reply
#3

Unfortunately , isn't a special action "SPECIAL_ACTION_DRINK_SPRUNK - Will give the player a sprunk bottle to drink from " but thanks for fast reaction
Reply
#4

If your setting an animation couldn't you just set a var when it is used and then use the var to detect it?
Reply
#5

Solved
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)