Does not work properly
Do I have wrong?
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("PLUGIN", "VERSION", "AUTHOR")
register_event("Damage", "event_damage", "b")
}
public event_damage(id)
{
new iDamage = read_data(2)
new iHealth = get_user_health(id)
set_hudmessage(0, 255, 0, -1.0, -0.35, 0, 6.0, 4.0, 0.0, 2.0, 1)
show_hudmessage(iDamage, "Damage:%s^nHealth:%s", iDamage, iHealth)
client_print(id, print_chat, "Damage:%s Health:%s", iDamage, iHealth)
}