You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently the PropertyId is the iteration / position of the property within the "properies.json" file.
When removing a property all existing properties greater then the one that has been removed will decrease one in value creating issues with OX_Inventory stashes. In order for OX_inventory stashes to work the Property id needs to be a static id.
To Reproduce
Create two or more properties.
Enter house number two and notice the stash id: (property-2)
Leave house number two and remove house number one using the admin menu.
Enter house number two again and notice the stash id: (property-1)
Expected behavior
When deleting a property all properties with a greater property id should keep their property ID in order not to lose their stashes/storage contents.
Screenshots
Debug Info (please complete the following information):
OS: Ubuntu
FiveM Artifact latest recommended
ESX Version: 1.9.4
Additional information:
Fixed it on our project by adding a static Id for each property.
The text was updated successfully, but these errors were encountered:
lily-de-vries
changed the title
[Bug] ox-Inventory storage sync issue on property deletion
ox-Inventory storage sync issue on property deletion
Apr 30, 2023
Describe the bug
Currently the PropertyId is the iteration / position of the property within the "properies.json" file.
When removing a property all existing properties greater then the one that has been removed will decrease one in value creating issues with OX_Inventory stashes. In order for OX_inventory stashes to work the Property id needs to be a static id.
To Reproduce
Expected behavior
When deleting a property all properties with a greater property id should keep their property ID in order not to lose their stashes/storage contents.
Screenshots
Debug Info (please complete the following information):
Additional information:
Fixed it on our project by adding a static Id for each property.
The text was updated successfully, but these errors were encountered: