Lolwut?
Is the players's names counter-strike?

lol
Anyway, here's the full code, if it didn't work for you:
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin( "Show Killers", "1.0", "nikhilgupta345" )
register_event( "DeathMsg", "Event_Deathmsg", "a" )
}
public Event_DeathMsg()
{
new killer = read_data( 1 )
new victim = read_data( 2 )
new headshot = read_data( 3 )
if( !is_user_connected( killer ) || !is_user_connected( victim ) )
return PLUGIN_HANDLED
new killerName[32], victimName[32]
get_user_name( killer, killerName, 31)
get_user_name( victim, victimName, 31)
if( headshot )
{
client_print( 0, print_chat, "%s killed %s with a headshot!", killerName, victimName )
return PLUGIN_HANDLED
}
client_print( 0, print_chat, "%s killed %s.", killerName, victimName )
return PLUGIN_HANDLED
}
That should work now.
__________________