[HELP] Fix Best Player Round 32Slots
My server have 32slots, and sometimes show "Best player round extream87 killed 27 players" how i can fix this?
Code:
|
Re: [HELP] Fix Best Player Round 32Slots
PHP Code:
PHP Code:
|
Re: [HELP] Fix Best Player Round 32Slots
You should store get_maxplayers() value in memory at plugin startup to loop players...
|
Re: [HELP] Fix Best Player Round 32Slots
How can i make it?
|
Re: [HELP] Fix Best Player Round 32Slots
PHP Code:
|
Re: [HELP] Fix Best Player Round 32Slots
Quote:
Quote:
Quote:
Code:
g_maxplayers = get_maxplayers(); // put this in plugin_init |
Re: [HELP] Fix Best Player Round 32Slots
So this is what i have... Where i put this?
for(new i = 1; i <= g_maxplayers; i++) for(new i; i < g_maxplayers; i++) // you might want to consider get_players for this loop Code:
|
Re: [HELP] Fix Best Player Round 32Slots
Quote:
|
Re: [HELP] Fix Best Player Round 32Slots
Last post edited YamiKaitou
|
Re: [HELP] Fix Best Player Round 32Slots
Look again, I just showed you the replacements. This is Scripting Help, you should be able to figure this out yourself
|
| All times are GMT -4. The time now is 05:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.