example:
Knife kill information changed to skull display
Code:
#include <amxmodx>
#define PLUGIN "Test"
#define AUTHOR "731"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_message(get_user_msgid("DeathMsg"), "msg_death")
}
public msg_death(msg_id, msg_dest, msg_entity)
{
static weapon[20]
get_msg_arg_string(4, weapon, 19)
if(weapon[0] == 'k')
{
//set_msg_arg_int(3, ARG_BYTE, 0) //Do not show headshot
set_msg_arg_string(4, "world")
}
return PLUGIN_CONTINUE
}