I use the native cs_get_user_team on every spawn and re spawn for my players as well as player death and in functions also called by the spawns.
So would it be more efficient to use an array in round_start looping the players and adding the "CS_TEAM_ID" to the array per player then accessing it to check each players team to give certain things?
or would it be better to use cs_get_user_team in like player spawn/death and then pass it to the different functions?