I have a problem, I am making a plugin that adds custom teams and I used Exolent's Team Join Managment to set player in spec and skip choose team and class menu's. I added custom menu and all, but when player is respawned ( I want to respawn a player when he/she choose a team ) I get a player that's looking on "cameras" just like when you are a spectator
PHP Code:
public team_handler(id,menu,item)
{
switch(item)
{
case 0:
cs_set_user_team(id,CS_TEAM_CT)
case 1:
cs_set_user_team(id,CS_TEAM_T)
}
ExecuteHamB(Ham_CS_RoundRespawn,id)
}