Mapcycle generator (place maps randomly lines)
1 Attachment(s)
Hi there,
I have a couple of servers and i have a map generator plugin to place maps from maps/ folder into maps.ini and mapcycle.txt, but i want it to place all maps randomly in mapcycle.txt file. Since if all maps is in same line in all server mapcycle.txt so do all servers use same map on mapchange. Every server choose the map from the top and go down. I hope you understood what I said. randomly placed in mapcycle.txt should be enough to explain how i want it. |
Re: Mapcycle generator (place maps randomly lines)
I found a old and basic plugin which does that :
Code:
Put this function in plubin_cfg() for example. |
Re: Mapcycle generator (place maps randomly lines)
Can you write it to a whole plugin with includes? thx :)
|
Re: Mapcycle generator (place maps randomly lines)
Code:
It's basic but should be enough. |
Re: Mapcycle generator (place maps randomly lines)
Thanks :D It works!
|
| All times are GMT -4. The time now is 13:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.