Author
|
Message
|
New Member
|
02-14-2023
, 16:55
Show Zombie Health Left Plugin
|
#1
|
Hello, I need help with this "Zombie Health Left" Plugin. Instead of showing the actual Health it just shows "s%" as the zombie health. Why is that so?
#include <amxmodx>
#include <zombieplague>
public plugin_init() {
register_plugin("ZP: Show Victim HP On Damage", "1.0", "<VeCo>")
register_event("Damage","event_damage","b","2 !0","3=0","4!0")
}
public event_damage(id)
{
new killer = get_user_attacker(id)
if(zp_get_user_zombie(id)) client_print(killer,print_center,"HP: %i",get_user_health(id))
}
|
|
|
|