i have a problem with my spawn locations in combination with teams. if I'm in the choosing team spawn my player some times in the wrong spawn location. how can I fix this?
This isn't really a scripting question, but I'll help anyways.
You'll need to set the SpawnLocations to not be Neutral (the property to turn off the Neutral setting is under SpawnLocation > Spawns > Neutral.)
Simply uncheck the neutral setting, and make sure the team color matches the team color specified in game.Teams.
Hope this helps. :)