Написал короче плагин для тебя.Только когда ты умираешь,тебе сражу пишется сколько ты отнял здоровья у убийцы
Code
#include <amxmodx>
public plugin_init()
{
register_plugin("x","x","x")
register_event("DeathMsg","onDeath","a")
}
public onDeath()
{
new iKiller=read_data(1)
new iVictim=read_data(2)
new sWeapon[255];read_data(4,sWeapon,sizeof(sWeapon)-1)
new name[32]
new hp=get_user_health(iKiller)
if(!iKiller==iVictim||equal(sWeapon,"world",5))
return PLUGIN_HANDLED
if(iKiller||equal(sWeapon,"world",5))
return PLUGIN_HANDLED
if(!iVictim)
return
get_user_name(iKiller,name,31)
client_print(iVictim,print_chat,"BbI OTH9IJIu y %s %d HP",name,hp)
}