jordanbache97 47 Posted September 18, 2015 hey guys I am this custom ammo box can I am trying to activate it through the box's init and it says "Missing ;" here is what I am putting in the init "this addAction ["Open Virtual Arsenal", {null = [_this] execVM "virtual_arsenal_init.sqf"; and it wont let me put it in maybe I am overlooking somthing but I cant see anything wrong, if you know can you please reply. Jordan Share this post Link to post Share on other sites
Greenfist 1863 Posted September 18, 2015 Missing some brackets. Try this: this addAction ["Open Virtual Arsenal", {null = [_this] execVM 'virtual_arsenal_init.sqf'}]; Share this post Link to post Share on other sites
Tay_uk 0 Posted September 18, 2015 Well you are missing a close bracket }] which I think should be between the .sqf and the ; So should look like this:- this addAction ["Open Virtual Arsenal", {null = [_this] execVM "virtual_arsenal_init.sqf}]";      dam too late ;) Share this post Link to post Share on other sites
jordanbache97 47 Posted September 18, 2015 Thanks a bunch guys, been doing so much in the editor for my unit I was just overlooking things, thanks for the help Share this post Link to post Share on other sites
R3vo 2654 Posted September 18, 2015 Get Notepad ++ or a similar tool, with syntax highlighting. Those tools will usually also show you if a bracket is missing. Share this post Link to post Share on other sites
jordanbache97 47 Posted September 18, 2015 Will do thanks :) Share this post Link to post Share on other sites
SavageCDN 231 Posted September 18, 2015 These will save your life!! https://notepad-plus-plus.org/ http://www.armaholic.com/page.php?id=8680 Share this post Link to post Share on other sites