problem with the amount of players
hi,
I used many ways to count the players on the server Each of them wailed me I way: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
stock is used every second (in task) every stock working at 90% 10% - sometimes bad counts, for example, when 2 terrorists it shows 7 |
Re: problem with the amount of players
You can try this. https://forums.alliedmods.net/showthread.php?p=1297719
It fixed my problems when i had an jailbreak server |
Re: problem with the amount of players
This fix was not implemented in 1.8.2 & 1.8.3?
|
Re: problem with the amount of players
get_players(iPlayers, iNum, "ch");
iNum returns the number of players related to the flags passed. There is no need to make a separate function. |
Re: problem with the amount of players
Quote:
|
Re: problem with the amount of players
Quote:
|
Re: problem with the amount of players
I checked it. You are returning 'count' and you have to return 'num', idk what 'count' is, it isn't even defined.
|
Re: problem with the amount of players
mistake when copying
|
Re: problem with the amount of players
get_user_team fix by ConnorMcLeod not solved the problem
|
Re: problem with the amount of players
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
I would recommend working off this version and trying it again. I can't believe that this simple function should fail so frequently, so I don't think any bug in get_user_team is responsible. The bugs in get_user_team (that have now been fixed in 1.8.3 anyway) were only exhibited in some specific edge cases, nothing that would fail 1/10 times when run every second. |
| All times are GMT -4. The time now is 09:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.