Asymmetric multiplayer class spawn system.

I will be direct. Im making a Asymmetric multiplayer FPS game Based On SCP. It is like SCP SL.

My problem is when i want to spawn the classes, Its divied In 3 main teams: Spectators, SCP and humans. The thing is when the Lobby time runs of It fire an event who takes All Spectators “The Spectator its an array whit the player controllers of the players” Then it Takes An Amount of Spectatos and Put in in the SCP team. <-“Another array” and the last step after the problem begins, All the remaining players in the Spectator array go to the human array the problem is I dont know how to spawn the SCPS, It should take each player of the SCP team and Spawn as a random diferent SCP “only 1 instance of each SCP” “I also coded the Amount Of SCPS per round by changing 1 variable Called MaxSCPS when it sets to -1 it means no SCPS can spawn” I tried Something to make the players spawn But the restrictionof only 1 SCP dont work and when i set the variable to have 3 SCPS or more it only spawns 2 or 1. Does anyone what its the problem and what can I do?

The Max SCPS Var
imagen

The code for settign the players on each team

Update!

Looks like i found a code to make the SCP limits

but when I want to put more than 2 the 3dr Player dont posses the Pawn.

What can i do?

this how the code looks like