• Run Mutiple gamemodes on same server install! possible?
    6 replies, posted
Do you people think that it might actually be possible to make a lua file call in specific addons if its a certain game mode? For example: If I want to run the ttt server it will call something along the lines of: [CODE] /excl_mapvote_init.lua [/CODE] to call the map vote addons and then when I want to run a sandbox server it will not call it... Basically is there a way to make a lua script, detect the game mode running and execute code if it detects ttt as being the current game mode and execute some other code if sandbox is detected ?
What addons are you trying to run while it's sandbox? [editline]22nd May 2016[/editline] Ahh. Mapvote addons. I'm not sure how you would even do it. It mostly depends on the addon. Link?
the mapvote addon is actually a project that has been abandoned for a little while now :/ [editline]22nd May 2016[/editline] but here it is: [url]https://github.com/kurt-stolle/mapvote[/url]
I suggest upgrading your mapvote addon. Try googling "Fretta-Like mapvoting". I haven't seen this one before.
okay, i will check it out ;) as you said might be because the mapvote addon is outdated
you'd need to modify each addon with something like this: [code]if engine.ActiveGamemode() != "sandbox" then return end[/code]
well thank you legendofrobbo that fixed it thanks a lot buddy :) growing smarter every day :P
Sorry, you need to Log In to post a reply to this thread.