[Release] xnVending (ESX/vRP/Standalone)

SCRIPT ERROR: @xnVending/server/server.lua:34: attempt to compare nil with number

TriggerServerCallback (@es_extended/server/functions.lua:160)
handler (@es_extended/server/common.lua:71)

didnt work with the coffeevendors… i used the " prop_vend_coffe_01 " … all other vendors work for me…

Hey there :slight_smile:
I"m using this script already in my server and we like it ! I was wondering one thing tho. I’d like to make it so that coffee machines are usable and that the funds goes to the beanmachine company instead of just going poof. would that be possible and if so could you guide me as to how to integrate that in your script?

where is the Weed vending?

Read the original post better next time

Hi, I’m trying to put a coffee machine but as you say it crashes in the animation, have you managed to fix that error? thank you and sorry for disturbing

Hello, did you ever fix that problem with this script? im trying to fix that but i have no idea how thanks and sorry for bothering

I do get this everytime with the error @vrp/lib/utils-lua
image

I get a message to press 1 or 2 but when I press nothing happens. I also get no error message

were you able to fix the error?

you should add a eating emote at the end/drinking emote.

My Hud covers the instruction too. Did anyone solve? How to move on screen position?

It’s a default GTA thing, not very easy to move. Try moving your HUD instead as GTA uses instructional buttons down the bottom right all the time. Don’t place HUD elements over game HUD locations.

1 Like

The script doesn’t support vrpex, whatever that is.