#cw-trade sell multiple

1 messages · Page 1 of 1 (latest)

wanton kelp
#

Hey Guys! I'm trying to sell multiple items at the same time but it pays me as if I sold just one unit of that item.

What Have I done wrong in the config?

pure wagon
#

I think you might be correct 🤔

#

Can you try adding *modifier on line 84 in server.lua.

full line should be

local payout = math.random(trade.toMoney.min, trade.toMoney.max)*modifier
wanton kelp
#

Lets see

pure wagon
#

I pushed a fix for it

wanton kelp
pure wagon
#

Did you grab the new the fix I pushed to GitHub or do the change I suggested here?

wanton kelp
#

oh just from here

pure wagon
#

Yeah that's why you're getting an error probably

wanton kelp
#

alright let me replace everything

#

Do I have to replace configs or no?

pure wagon
#

No not the config

wanton kelp
#

nice it works ❤️

#

ty very much