[Release] xnVending (ESX/vRP/Standalone)

Config.NewESX = false

and what you said fixed the problem. Thanks!

Big update thanks to @glitchdetector vRP and standalone systems are now supported!

2 Likes

He doesnt have to change that, i am using .limit than weight too. If you support weight and not limit, just do it for your server.

The weed vending machine does not exist, why is that?

It worked for him lol

You canā€™t move it, itā€™s where Rockstar put it.

Read maybe?

Included in this release is a bonus vending machine model I made which is a weed vending machine, currently it is not placed anywhere on the map, you must do that yourself.

No need to be an asshole about it.

Hi all im trying to add Coffee Ven but no luck any help with this would be great

[`prop_vend_coffe_01`] = {
	item = {"coffee", "coffe"},
	name = {"Coffee", "Toffee Latte"},
	prop = {`prop_fib_coffee`, `prop_fib_coffee`},
	price = {10, 10}
},

it just hangs there and the other Vends stop working

2 Likes

Creating script environments for xnVending
Failed to load script @vrp/lib/utils.lua

That error will show if you donā€™t use vRP, itā€™s fine to ignore.

thanks, likewise i cant purchase anything. All i see is 1 or 2 beside the item to the bottom right corner but it doesnt give me the option to select buy or purchase or anything.

SCRIPT ERROR: @xnVending/server/server.lua:18: attempt to index a nil value

TriggerServerCallback (@es_extended/server/functions.lua:33)
handler (@es_extended/server/common.lua:89)

Hey man did you ever figure that out?

Hi, nice script, how can i change the buy message position in screen when you are near from the machine?

Thanks.

You canā€™t. Thatā€™s default Rockstar stuff.

Creating script environments for xnVending
Failed to load script @vrp/lib/utils.lua.
Started resource xnVending

You can see from like 5 posts above yours that was already answered.

items are not usable :confused:

correct, you have to make them usable yourself.

okey thanks you :smiley: