Jump to content
  • 0

Added a Gem Trader - Not Removing Gem from Inventory


cen

Question

Alright guys I'm stumped :D

 

I use the config files for traders (not the database), and I've got everything set up on the trader end, but when you purchase the item the gem doesn't remove from your inventory.

 

server_traders.sqf:

// Gem Trader
menu_RU_Citizen4 = [
	[["Special Gem Items",777]],
	[],
	"neutral"
];

My gemTrader.hpp file:

class Category_777 {
	class M113Ambul_UN_EP1 {
		type = "trade_any_vehicle"; //I tried _old as well
		buy[] = {1,"ItemRuby"};
		sell[] = {2,"ItemBriefcase100oz"};
	};
};

baf31Y8.jpg

 

32krHy5.jpg

 

DmD81zZ.jpg

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

When you say "the remove ammo script" was causing the issue you mean what file? What file did you change to resolve this issue as I am having the same issue with Gem traders via ConfigTraders. When I have "trade_any_vehicle_old" the vehicle in the list has no pic however players can purchase/sell them w/o any issues. But when I have "trade_any_vehicle" there is a pic but when they are purchased/sold it dont take/give the gem stated. Arma 112555, Epoch 1.0.5.1 is my current version.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...