Firstly I have no idea where to add settargeting off action and how it should looks like, can I add it to checker?
Next thing is setting is depositer, he stucks here:
local suppliescash = positive(ammotobuy - weaponcount(ammoname)) * ammoprice
npcsay("withdraw "..suppliescash) wait(1000)
and last thing is buyer, the problem is he is allways buying same ammount of ammo
buyitemsupto(ammoname, (ammotobuy - itemcount(ammoname)))
ammoname = "spear"
ammoprice = 9
ammotobuy = 12
ammotoleave = 5