new rand = random(SPAWNPOINT_AMOUNT); switch(rand) { case 0: { SetPlayerPos SetPlayerFacingAngle } case 1: { SetPlayerPos SetPlayerFacingAngle } ... }