
nikita2150
-
Posts
9 -
Joined
-
Last visited
Community Answers
-
nikita2150's post in Trade offers was marked as the answer
So.. I've just created a function that checks the values of the toGive toRecieve with the inventories , compared the values from the price list and if im giving too much it cancels it..
Edit:
Actually the problem was with the timings. The scipt wasn't fast enough to seatch through the whole inventory to get the item its needed, by this time the script already sent the offer.