Jump to content
  • 0

add Sapphire as currency ?


meanbeandk

Question

Hi

Trying to ad the Sapphire as currency but cant get it to work

 

When i buy a thing in the trader for Sapphire it dont take the Sapphire from inventory

and dont give Sapphire if i sell

 

in my database a have made this

 

["M1A1_US_DES_EP1",2]   10   [3,"ItemSapphire",1]   [1,"ItemSapphire",1]   0   700   trade_any_vehicle

 

also tried

 

"M1A1_US_DES_EP1",2]   10   [3,"ItemSapphire",1]   [1,"ItemSapphire",1]   0   700   trade_any_vehicle_old

 

but it dont work 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hi,

I haven't got that Table, is there any chance you can write down a working Line, so we got something to compare with?

By looking at those lines i got nothing but guesses:

First Array is [Classname,Trade_Type]

Then Stock Control?

then [amount,classname,trade_type] for buying and selling

Then a 0 ?

Actually i thought, that the trade type for vehicles is 3, not 2. I'm unsure about that, but might be worth a check.

Link to comment
Share on other sites

  • 0

Item                                     qty           buy                             sell                         order          tid              afile

["M1A1_US_DES_EP1",2]   10   [3,"ItemSapphire",1]   [1,"ItemSapphire",1]           0           700        trade_any_vehicle

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
  • Discord

×
×
  • Create New...