Jump to content
  • 0

added M240 nest to traders... Just receive a key not a nest..


dzrealkiller

Question

Hi I am trying to add M240 nest to my building trader so players can buy them but I am facing an Issue.

 

I have added:

 

class M240Nest_DZ {
      type = "trade_any_vehicle";
      buy[] = {200000,"Coins"};
      sell[] = {100000,"Coins"};
};
 
To my trader category Its listed along with a load of other items I added that works... however when buying the M240 next the trader just gives me a key not an M240 nest... any ideas?
 
I have also tried using M240_nest_Kit this also gives a key with not actual nest..
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Nvm another problem I figured out myself...

class M240Nest_DZ {
    type = "trade_any_vehicle";
    buy[] = {200000,"Coins"};
    sell[] = {100000,"Coins"};
};

The problem was type = "trade_any_vehicle"; its not supposed to be a vehicle its meant to be an item like so... type = "trade_items";

Case Closed :D

 

Thought I would post this so if anybody else has an issue like this they can fix it :)

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...