#include <amxmodx> #include <fun> public plugin_init() { register_plugin("Head Shot Healer" , "1.0" , "NeoFORT"); register_event("DeathMsg" , "event_DeathMsg" , "a" , "1>0" , "2>0" , "3=1"); } public event_DeathMsg() { new id = read_data(1); // changed 2 -> 1 if(is_user_alive(id)) set_user_health(id , 100); }