CCSPlayer::SwitchTeam( 1 ) - invalid team index
What does it means?
PHP Code:
PHP Code:
PHP Code:
Also, when i switch player from 2 or 3 team to 1 (spec), player have 1 health... (with ChangeClientTeam) :?::| |
Re: CCSPlayer::SwitchTeam( 1 ) - invalid team index
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.
|
All times are GMT -4. The time now is 19:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.