I don't see why it wouldn't work.
You may want to try the optimized version:
PHP Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_event("DeathMsg", "eDeath", "a", "1>0");
}
public eDeath()
{
new killer = read_data( 1 );
if (killer == read_data(2))
return;
new weapon[5]
read_data(4, weapon, 4)
if (!equal(weapon, "awp"))
return;
new szNameK[32];
get_user_name(killer, szNameK, 31);
client_print(0, print_chat, "%s killed someone with the AWP!", szNameK);
}
__________________