Server Players
Hi good day!
Hope everyone is coping during the pandemic times. I was wondering if this would matter: ***I run latest YapB in my server and I want to add and kick bots every X*** 1. (could be every certain rounds - e.g. every 7th, 15th, 28th round) 2. (could be every X server running time - e.g. every 7 mins or every 15 mins.) 3. (can be modified how many bots are kicked and how many bots are added during X) Is this possible? Tried doing these: PHP Code:
------------------------------------------------------------ PHP Code:
LOOKING FORWARD! Thank you! :) |
Re: Server Players
Perhaps u wanna share the original code of the first plugin you're using? It looks like a code i wrote a while ago, but shit's missing. You're never increasing iCtPlayers & iTerPlayers, so their value will always be 0.
|
Re: Server Players
Quote:
PHP Code:
|
Re: Server Players
It's actually really simple.
PHP Code:
PHP Code:
|
Re: Server Players
Quote:
Let me try these. Will get back what happens soonest. Thank you for giving out our time. |
Re: Server Players
You should've reset the variable g_iRoundNum on game commencing and on round restart. ( g_iRoundNum = 0 )
|
Re: Server Players
Quote:
|
Re: Server Players
Quote:
PHP Code:
|
Re: Server Players
Quote:
|
Re: Server Players
Quote:
Compilation good. No errors in debug. It's just that nothing happens no bots are added. |
All times are GMT -4. The time now is 02:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.