- Joined
- Feb 6, 2014
- Messages
- 2,466
How can I get the number of item stocks in a shop? I tried searching for natives but I can't find one. Any workarounds?
Example, if I have an item with initially a stock of 5 in a market and a player bought 2, there are 3 stocks remaining. Then after a minute, the stock replenishes to 4 stocks. How can I detect those number of stocks at any specific time?
Example, if I have an item with initially a stock of 5 in a market and a player bought 2, there are 3 stocks remaining. Then after a minute, the stock replenishes to 4 stocks. How can I detect those number of stocks at any specific time?