angrynewb Posted August 9, 2013 Report Share Posted August 9, 2013 I want to add an additional menu option at the aircraft dealer. I have edited the server traders.sqf file and added the additional items for sale in the traders_data table. My problem is that once i edit the server traders.sqf file all traders break. I assume there is a 2nd location i must also edit but i don't know where to look. // Aircraft Dealer menu_Worker2 = [ [["Airplanes",517],["Helicopter Unarmed",519],["Helicopter Armed",700], [], "friendly" Any Ideas? Link to comment Share on other sites More sharing options...
0 angrynewb Posted August 9, 2013 Author Report Share Posted August 9, 2013 just after submitting my post i noticed an error in my code, i was missing the 2nd ] after my last menu entry. Rebooting server now to test. // Aircraft Dealer menu_Worker2 = [ [["Airplanes",517],["Helicopter Unarmed",519],["Helicopter Armed",700]], [], "friendly" Link to comment Share on other sites More sharing options...
0 angrynewb Posted August 9, 2013 Author Report Share Posted August 9, 2013 it worked... just needed to post it here to see my error. :) Link to comment Share on other sites More sharing options...
Question
angrynewb
I want to add an additional menu option at the aircraft dealer.
I have edited the server traders.sqf file and added the additional items for sale in the traders_data table.
My problem is that once i edit the server traders.sqf file all traders break.
I assume there is a 2nd location i must also edit but i don't know where to look.
Any Ideas?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now