public OnPlayerDeath(playerid, killerid, reason){ if (killerid == INVALID_PLAYER_ID) { // Player died, but there's no killer (explosion, splat, drown, /kill command)... } return 1;}