|
Author
|
Message
|
|
Veteran Member
Join Date: Sep 2019
Location: Egypt
|

12-28-2021
, 10:21
Re: Show damage armor
|
#1
|
Quote:
Originally Posted by Heisen
Hello, I have a question, can do show the damage to the armor?
PHP Code:
public event_showdamage(id) { new attacker = get_user_attacker(id) if(is_user_connected(id) && is_user_connected(attacker)) { new damage = read_data(2) set_hudmessage(127, 255, 127, -1.0, 0.55, 0, 0.0, 1.1, 0.0, 0.0); show_hudmessage(attacker, "%i", damage) } }
I want to do a display like in a fortnite, blue is armor white is health
|
read_data(2)
->
read_data(1)
__________________
Last edited by Supremache; 12-29-2021 at 02:38.
|
|
|
|