PHP Code:
register_message(get_user_msgid("DeathMsg"), "Message_DeathMsg");
...
public Message_DeathMsg(msg_id, msg_dest, id)
{
static attacker, victim, weapon[24];
attacker = read_data(1);
victim = read_data(2);
read_data(4, weapon, 23);
if(!is_user_connected(attacker))
return PLUGIN_CONTINUE
if(equali(weapon, "aug") && g_user_has_[attacker]))
set_msg_arg_string(4, "katana");
return PLUGIN_CONTINUE
}
I just based this on your sample screenshot, thus the "aug" is replaced by the "katana". You'll also need your own custom sprite and edit the
hud.txt in
cstrike/sprites folder for this to work...
__________________