[Help]Orpheu: AutoTeamBalances
Hi, i am making an "Instant Team Balances" plugin for CS1.6 Deathmatch gameplay (no roundend). But something goes wrong, the function is called but it not balance the teams but inverted.
For example: Current TR -- 8 players Current CT -- 4 players If one player disconnect then i set AutoTeamBalance after 10 seconds. When the function called, current players will be: Current TR -- 9 players Current CT -- 2 players
Orpheu code
Is my math calculation fault or engine fault? |
Re: [Help]Orpheu: AutoTeamBalances
I can't help you with that orpheu thing but the code looks fine. You could do a debug after calling orpheu function, example, also little improved code:
PHP Code:
|
Re: [Help]Orpheu: AutoTeamBalances
If error on Orpheu it will show log and plugin will not running for sure. Signature is correct, as i said function was called. Maybe auto team balance will only called x time in 1 round.
I use this stock for more accurate return. Code:
//get team player count 1=TR | 2=CT |
| All times are GMT -4. The time now is 21:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.