Custom Trader Option Not working?

niall straughan

Well-Known Member
Ive been trying to add it so that when you scroll on a trader, you can buy 10 Lumber/Plywood packs for 1 gold. Ive tried to change it so many times. Ive had no luck, all i get is 'need 1 more gold' or something.
This is the file:

https://www.dropbox.com/s/i5dk6jc0c6arxmn/server_traders (1) CURRENT.sqf

I have the scroll to sell gems option, as its pretty cool, so i just tried to work off that.
I wanted to have it for all wholesalers, and traders that have building supplies section as can be seen in the file.
Can anyone help me with this?
thanks
 
No, although just before i did think that might be it, but if you look at the file, the stary Black marker trader has not been defined to sell gems in the database. Yet it works perfectly?
 
No, although just before i did think that might be it, but if you look at the file, the stary Black marker trader has not been defined to sell gems in the database. Yet it works perfectly?

Mmhm, true. Try it with a single Item, just to see if it works. It's a bit weired anyway, why you asking for 10x 1 Gold Bar instead of 1x ItemGoldBar10oz ?. If you'd want the Plywood to sell twice you increased the wrong number by the way. ^^

http://pastebin.com/15Bnu2w2
 
I want 10 plywood/lumberpacks for 1 gold?
I and i tried just putting '1' for both numbers, and all it says is, need 1 more gold, which i have, egzactly
 
Back
Top