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
For a while now we are unable to open an inventory/stash/shop in game. In the config i have the following line: setr inventory:police ["police", "kmar", "admin"]
When leaving the server the player is saved as offpolice or offkmar. They need to use a command ingame to toggle from offpolice/offkmar to police/kmar. When they try to use a shop after this it says "you can't use this inventory". After i restart ox_inventory in game they are able to use it. When a new player joins they can't access the shop until ox_inventory is restarted again. It seems to me that there is an issue with the setjob which is triggered with the command to switch between offpolice/offkmar to police/kmar but i'm not sure on how to fix this.
Framework
ESX Legacy
Resource version
Latest (2.40.1)
To Reproduce
Steps to reproduce the behavior:
Join the server with any job but the jobs from inventory:police
Change the job to any job from inventory:police
Try to access the shops
See error
Expected behavior
The shops should be working after going from offpolice/offkmar to police/kmar
The text was updated successfully, but these errors were encountered:
esx:setJob event is used to keep this data updated in the inventory, and others are not experiencing this issue, so there's not enough information here to act on.
Describe the bug
For a while now we are unable to open an inventory/stash/shop in game. In the config i have the following line:
setr inventory:police ["police", "kmar", "admin"]
When leaving the server the player is saved as offpolice or offkmar. They need to use a command ingame to toggle from offpolice/offkmar to police/kmar. When they try to use a shop after this it says "you can't use this inventory". After i restart ox_inventory in game they are able to use it. When a new player joins they can't access the shop until ox_inventory is restarted again. It seems to me that there is an issue with the setjob which is triggered with the command to switch between offpolice/offkmar to police/kmar but i'm not sure on how to fix this.
Framework
ESX Legacy
Resource version
Latest (2.40.1)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The shops should be working after going from offpolice/offkmar to police/kmar
The text was updated successfully, but these errors were encountered: