forked from overextended/ox_inventory
-
-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I'm using AdvancedParking so user-owned vehicles don't disappear, but I've found that vehicle inventory disappears after a restart because vehicle inventory isn't saved in owned_vehicles.
Example: When a user stores items in a non-user-owned vehicle that isn't saved in owned_vehicles, the stored items disappear after a server restart, and the loot in the vehicle is refreshed.
[script:ox_inventory] [ox_inventory] [INFO] Saved 0/1 trunks (2.5501 ms)
[script:ox_inventory] [ox_inventory] [INFO] Saved 0/1 gloveboxes (2.9508 ms)
Describe the solution you'd like
- Add a configuration to enable/disable temporary inventory of unowned vehicles;
- Add a new
unowned_vehiclesentry or directly useox_inventoryto record inventory data for the glovebox and trunk.
This will benefit other scripts, such as those used by users renting or temporarily using vehicles.
Describe alternatives you've considered
N/A
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request

