public OnPlayerDeath(playerid, killerid, reason){ if(reason == 38) { // Do something here } return 1;}