Team_swtich
Hi. When a lot of people playing crashing the team_switch some people don't swtich them why? plz help
PHP Code:
|
Re: Team_swtich
[pawn]
the server will not crash by changing all players teams... Code:
This should work... |
Re: Team_swtich
emperial159
I don't know how cs module works, but check error logs - maybe you also should check if player is connecting before calling add_delay( players[i] ); |
Re: Team_swtich
Oke i doned but round changing always one time but i do 2 rounds...
PHP Code:
|
Re: Team_swtich
i can't even understand what do you mean but try this...
Code:
|
Re: Team_swtich
Ty it's working but the server breaking when are 10x10 players...
PHP Code:
|
Re: Team_swtich
Your original code is fine.
You just need to remove task if the player disconnects, because a player can disconnect before the task is executed, thus giving you the invalid player error. PHP Code:
|
Re: Team_swtich
Look error...
|
Re: Team_swtich
Try it now.
|
Re: Team_swtich
Working 10x10 ,but when the map change there are first round and is 1 switch team when go onother round there is 2 switch... And sometimes people don't swtich them...
|
| All times are GMT -4. The time now is 04:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.