Issue after restarting resource that use vorp_inventory
zVoxty opened this issue · 2 comments
After the update, there is an issue with the resources that use vorp_inventory after it is restarted
Steps to reproduce:
-
Register an item in the server.lua with:
VorpInv.RegisterUsableItem('lumberaxe', function(data)
print('work')
VorpInv.CloseInv(data.source)
end) -
Restart the respective resource and then it will work properly after using the item
-
Restart the respective resource one more time and you will see the below error when double clicking the respective item.
PS: After restarting the server it works but for development, it is a pain because I need to restart the server every time.
i do not find any issues in restarting resources , you cant restart inventory without restarting the scripts that depends on it
this was fixed