public OnPlayerDisconnect(playerid, reason){ if(reason == 2) { SendClientMessageToAll(COLOR_RED, "Player has crashed!"); } return 1;}