pepeelpubero
Well-known member
- Joined
- Jan 21, 2014
- Messages
- 433
- Reaction score
- 1
I'm trying to create something like the pimod but i'm stucked on this:
How to get the health and armor (lost) of the opponent and draw it on a box/bar? I know i can use the next opcodes:
but I want to know how to put the function of reduce that box when the opponent loses health or armor.
How to get the health and armor (lost) of the opponent and draw it on a box/bar? I know i can use the next opcodes:
Code:
038E: draw_box_position 320.0 224.0 size 640.0 448.0 RGBA 0 0 0 255
0B25: samp 2@ = get_player_health 1@
0B26: samp 2@ = get_player_armor 1@
but I want to know how to put the function of reduce that box when the opponent loses health or armor.