register_event("DeathMsg", "eDeath", "a")
public eDeath() { if(get_user_weapon(read_data(1)) == CSW_HEGRENADE) { // Code }}