#include <amxmodx> public plugin_init() { register_event( "DeathMsg", "DeathMsg", "a" ) } public DeathMsg() { new headshot=read_data(3) new Victim=read_data(2) new weapon, HitPoint, attacker = get_user_attacker(Victim, weapon, HitPoint) if(weapon == CSW_AWP && headshot) { //awp hs kill } }