Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot buy from vendor machines #1146

Closed
dolutattoo opened this issue Feb 13, 2023 · 0 comments
Closed

Cannot buy from vendor machines #1146

dolutattoo opened this issue Feb 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dolutattoo
Copy link
Contributor

dolutattoo commented Feb 13, 2023

Describe the bug
Cannot buy items from vendor machines.
The operation is cancelled and an error appears in server console

To Reproduce

  1. Go to a vendor machine (example: 437.418, -985.703, 30.689)
  2. Try to buy a bottle of water
  3. Check server console
  4. See error

Error

SCRIPT ERROR: @ox_inventory/modules/shops/server.lua:180: attempt to perform arithmetic on a nil value (local 'split')
> callbackResponse (@ox_lib/callback/server.lua:60)
> handler (@ox_lib/callback/server.lua:76)

The player.open string is VendingMachineDrinks in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant