Siema, potrzebuje zmodyfikowany buletdmg dla VIpa, ktory bedzie dzialal tylko u graczy z flaga "t" Chodzi o to, aby pokazywal ile posotalo HP zombie, a nie ile zadalismy.Znalalzem cos takiego w necie:
#include <amxmodx> public plugin_init() { register_plugin("Damage Done", "1.0", "wrea"); register_event("Damage", "on_damage", "b", "2!0", "3=0", "4!0"); } public on_damage(id) { new attacker = get_user_attacker(id); if(is_user_connected(attacker) && is_user_alive(id)) client_print(attacker, print_center, "HP: %d", get_user_health(id)); } if(has_flag(id, "t")) client_print(id, print_chat, "Masz flagę a, b lub c"); }