Thread
: [Solved]
CCSPlayer::SwitchTeam( 1 ) - invalid team index
View Single Post
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
03-17-2020 , 05:24 Re: CCSPlayer::SwitchTeam( 1 ) - invalid team index
#
2
1 is spectators team. you can't use SwitchTeam to move players to spectators. Use ChangeClientTeam instead. Kill the player if he's alive before you move to another team.
__________________
My Plugins
|
GitHub
|
PayPal
Ilusion9
View Public Profile
Send a private message to Ilusion9
Find More Posts by Ilusion9