get_players issue
So, I have a VIP plugin that respawns player once in a round. Thats what it should do and it worked for sometime, but now, it has stoped working for some players.
PHP Code:
|
Re: get_players issue
Debug it then, start by printing the output of num and players if you believe it to be incorrect
|
Re: get_players issue
But by looking at that code, does it look ok? It should work, right? Maybe the get_user_team is broken. I can't test it because almost all times I test it, it works, but then I see people not spawning.
|
Re: get_players issue
Debug it, that is the only way you are going to know what is wrong
|
Re: get_players issue
Interesting, it started to work after shutting down server.
|
Re: get_players issue
+1 to restart server....
This is a very sad bug in get_players , i had some plugins using it and the code in which get_players was used didnt worked of that mod Example Deathrun manager by xpaw , semiclip sometimes stops (uses get_players) like after some uses , mod changes etc. and wont fix until we restart the server ! Happens rarely but really we have to restart server I also changed everything from get_players to loop by "for" function in most of the plugins and never bugged in 3yrs (have multimod server) Can someone tell how is this possible that even map/mod change doesnt fixes it ? |
| All times are GMT -4. The time now is 06:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.