Hello,
I need some help scripting this part of plugin.
PHP Code:
public event_DeathMsg()
{
new iKiller = read_data(1)
new iVictim = read_data(2)
if(iKiller == iVictim)
{
return PLUGIN_HANDLED;
}
else
{
new name[32]
get_user_name(iKiller, name, 31)
new clip, ammo, weapon = get_user_weapon(iKiller,clip,ammo)
new health = get_user_health(iKiller);
chat_color(iVictim, "!nJucatorul !t%s !nte-a ucis cu !g%s !nsi a ramas cu !g%s !nhp", name, weapon, health)
}
return PLUGIN_HANDLED;
}
Not showing killer weapon and health to victim ...