switch(SpawnType[playerid]){ case 0: { // When the player dies } case 1: { //login } case 2: { //registered }}