public OnPlayerDeath(playerid, killerid, reason){ new state = GetPlayerState(playerid); if(state != PLAYER_STATE_ONFOOT && !IsPlayerInAnyVehicle(playerid)) return Ban(playerid);}