K
Krushnaks
Guest
Hello!, first of all, i apologize if my english isn't correct! ... about my problem, I have an object that is a container, inside there are 5 items, every time a player interacts with that container, an item is subtracted, then I send to the other clients the notice that I have removed an item, if the quantity of items is equal to or less than 0, we can't remove any more, the problem lies when there is an only one (1) element inside the container and two players interact at the same time, both get an item and the counter goes to -1, how can I solve it?