how i can to do admins only can see other players HP ??
here is the plugin i already added ADMIN_LEVEL ADMIN_CHAT but dont work, other can see HP
PHP Code:
#include <amxmodx>
#define ADMIN_LEVEL ADMIN_CHAT
public plugin_init() {
register_plugin("HP On Damage", "1.0", "poliisi299...")
register_event("Damage","event_damage","b","2!0","3=0","4!0")
}
public event_damage(id)
{
new killer = get_user_attacker(id)
if(is_user_connected(killer) && is_user_alive(id)) client_print(killer,print_center,"Health: %i",get_user_health(id))
return PLUGIN_HANDLED
}