public OnPlayerDisconnect(playerid){ pPlayerIsAdmin[playerid] = 0; // Or however you define as not being an admin}