Witty Jack 0 Posted July 5, 2016 Hello ! So i decided to try to incorporate Virtual Ammobox System into a user mission ( a mission that i downloaded from this forum ) , i create the Ammo Box i put the code into the initialization field but i have a problem.I have to put this code in description.ext #include "VAS\menu.hpp" class CfgFunctions { #include "VAS\cfgfunctions.hpp" }; The thing is that if i put the code like this in description.ext i will receive a message that's telling me that "Member already defined" , because there is another file where there is content similar to the one in cfgfunctions.hpp. If i move the content from cfgfunctions.hpp to the functions.hpp that the mission already had and i change that code to #include "VAS\menu.hpp" class CfgFunctions { #include "include\functions.hpp" (This is the path to the other function file) }; I will receive a message thats telling me that i declared that path 2 times , and thats true but i dont know what i should do in order to make VAS work with the current functions.hpp file. Share this post Link to post Share on other sites
kylania 568 Posted July 5, 2016 Any reason you're not using the built in Arsenal virtual ammo box? This should work, but I'm away from the editor to test: #include "VAS\menu.hpp" class CfgFunctions { #include "include\functions.hpp" #include "VAS\cfgfunctions.hpp" }; Depends on how functions.hpp is configured. 1 Share this post Link to post Share on other sites
Witty Jack 0 Posted July 5, 2016 Any reason you're not using the built in Arsenal virtual ammo box? This should work, but I'm away from the editor to test: #include "VAS\menu.hpp" class CfgFunctions { #include "include\functions.hpp" #include "VAS\cfgfunctions.hpp" }; Depends on how functions.hpp is configured. Wait the game already has a Arsenal Virtual Ammo Box ? I had no idea Share this post Link to post Share on other sites