Blockland Forums > Help
How can I enable other Addons while running a gamemode?
Apex:
So usually when I'm running a Custom gamemode I can easily enable other Addons by using the exec command, but I'm trying to do this while running the Mafia Madness gamemode with no success. I've tried doing setmodpaths and transferring datablocks after exec'ing the file. So basically I want to enable Item_Sports while the Mafia Madness gamemode is running.
{Pacnet2013}:
The only alternative I can really think of is adding ADDON Item_Sports to the gamemode.txt file of Mafia Madness.
Zeblote:
$gamemodearg="";exec("path");$gamemodearg="add-ons/gamemode_mafia_madness/gamemode.txt";
If I remember right
Apex:
--- Quote from: Zeblote on August 09, 2013, 03:08:00 PM ---$gamemodearg="";exec("path");$gamemodearg="add-ons/gamemode_mafia_madness/gamemode.txt";
If I remember right
--- End quote ---
Do I use that command after I exec the addon?
Apex:
Okay I did the .txt method and added all the addons i wanted. Every addon got enabled and worked EXCEPT for item_sports. Anyone know why?