MuffinStuffer 0 Report post Posted September 11, 2015 Im just trying to add First Aid Kits to the trader. I've added it to the config.cpp under class FirstAid & under //tools with class Exile_Item_FirstAidKit with a quality and price but it doesnt seem to work since my server just gets stuck "setting up" Share this post Link to post Share on other sites
TheDmD 2 Report post Posted September 11, 2015 are you shure, the Aid kit its has a exile class ?change Exile_Item_FirstAidKit to the basic arma class and test it again Share this post Link to post Share on other sites
Boose 44 Report post Posted September 11, 2015 You need to add in two places Share this post Link to post Share on other sites
MuffinStuffer 0 Report post Posted September 11, 2015 @TheDmD, funny I JUST was thinking about that. Ill try it out right now. Share this post Link to post Share on other sites
MuffinStuffer 0 Report post Posted September 11, 2015 @TheDmD Here's what I got, same thing locks up "setting up"// Tools /////////////////////////////////////////////////////////////////////////////// class Exile_Item_Matches { quality = 1; price = 50; }; class Exile_Item_CookingPot { quality = 2; price = 75; }; class Exile_Item_InstaDoc { quality = 1; price = 250; }; class FirstAidKit { quality = 1; price = 150; }; class Exile_Melee_Axe { quality = 1; price = 100; }; class FirstAid { name = "FirstAid"; icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa"; items[] = { "Exile_Item_InstaDoc" "FirstAidKit" }; }; Share this post Link to post Share on other sites
Torchgodz 112 Report post Posted September 11, 2015 @MuffinStuffer ensure you put a comma at the end of Exile_Item_InstaDoc. Like i have below.class FirstAid { name = "FirstAid"; icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa"; items[] = { "Exile_Item_InstaDoc", "FirstAidKit" }; }; 1 Share this post Link to post Share on other sites
MuffinStuffer 0 Report post Posted September 11, 2015 Ah ha! LMFAO, man. Thanks. Share this post Link to post Share on other sites
MuffinStuffer 0 Report post Posted September 11, 2015 @Torchgodz That was it, thanks man. Works like a charm. Share this post Link to post Share on other sites
Torchgodz 112 Report post Posted September 11, 2015 No problem that is the most common mistake when coding arma 3 or any programming for that matter. 1 Share this post Link to post Share on other sites
will695 1 Report post Posted September 11, 2015 Hi @MuffinStuffer, Would this make it able for 1st aid kits to be used on otherplayers? My server has been asking for the instaDoc to be able to be used on other players so they can heal eachother. Share this post Link to post Share on other sites