Jump to content
  • 0

how to add addiotional menus to traders


angrynewb

Question

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

2 answers to this question

Recommended Posts

  • 0

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...