discoverFile("add-ons/addon_name/server.cs");
exec("add-ons/addon_name/server.cs");
weapon_musket
musket
weapon_musket.zip
musket.zip
transmitDatablocks();
Could you post the commands that it would need?Like so I could copy/paste 'em
discoverFile("add-ons/weapon_musket.zip");
exec("add-ons/weapon_musket/server.cs");transmitDatablocks();
Thanks Kalphiter!This will make fine tuning addons alot easier.
$lolvariable = 9001;function lolfunction(){ echo("noodles");}lolfunction();
exec("thefile.cs");
exec("thefile.cs", 1);
You mean to execute an add-on?This step if you just added or updated the add-on:Code: [Select]discoverFile("add-ons/addon_name/server.cs");
dammit thanks, Kalph, I didn't even know that existed.
setModPaths(getModPaths();
Code: [Select]setModPaths(getModPaths();
I tried doing this on some bricks, in the console it said they executed but I didn't see them in the brick menu!It did enable though.
Some add-ons don't work when exec'd manually like that.