OnPlayerDeath(playerid, killerid, reason){ if(killerid == INVALID_PLAYER_ID) // invlalid killer id { // code here } return 1;}