worst player - server name. Why?
Why it show server name?
How to fix it? PHP Code:
|
Re: worst player - server name. Why?
Quote:
#2: The way it's set up, "i" could be greater than the maximum of 32 players allowed in a server. So I wouldn't be surprised if you got errors in the logs. #3: Even if you set up #2 correctly, the value of "worstplayer" is being changed constantly. So no matter what, it would always return the last player it looped to. |
Re: worst player - server name. Why?
for(new i; i > sizeof(Kills); i++)
should be for(new i; i < sizeof(Kills); i++) Also, when worstscore is made, then worstscore is automatically set to 0. Usually most people don't have a score less than 0. So what I think you should do is set worstscore to Kills[0] beforehand. |
Re: worst player - server name. Why?
Try something like this:
PHP Code:
|
Re: worst player - server name. Why?
PHP Code:
|
| All times are GMT -4. The time now is 02:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.