[PAID] [QB-CORE] Vending Machine Script (Prop bound shops)


https://inter-development.tebex.io/package/5999182

Introduction

Hello guys, Ive just released my Vending Machine Script. It works by attaching shops to whatever props you define in the config, allowing you to easily set up shops without the need to enter coordinates in a config file.

You can either use the default placement of GTA V´s props or use one of the many free objectplacer scripts to place them where you wish ( I recommend an easy and free one in the scripts readme).

Customization

The HTML, CSS and JavaScript code is unobscured and written to be easily readable so you can quickly change things like colors, sizes, fonts or even add your own logo. (The colors can be changed by just changing the Red, Green and Blue values in the first lines of the .css file)

If youre not comfortable with any of that, I also offer support after your purchase.

The config allows you to change which shops are attached to which props and the prices of the items they sell. For images to show up correctly you need to enter the image path to your inventory script (I can help with that if you have trouble). If you use qb-inventory, it is already setup properly.

Of course you can also change the translation and the key you need to press to open the shop.

Optimization

The check if there are vending machines nearby, the script sporadically checks props close to the player, increasing in wait time the further you are away from a vending machine so the performance impact is minimal.

While ideling it usually is at 0.00ms, occasionally going to 0.01ms. While standing withing a vending machines radius, it increases to 0.02ms, going back to 0.00ms after opening the shop.

Video

Pictures




Code is accessible No (Besides UI, Config and Functions)
Subscription-based No
Lines (approximately) 500
Requirements QB-Core
Support Yes

https://inter-development.tebex.io/package/5999182

2 Likes

Nice Script i bought it for my Server and it’s easy to use

1 Like

Is it open enough to setup a target system and/or a textUI vs drawtext3d?

No currently it only supports drawtext3d but if youre interested I could look into making it more open or add an option to use qb-target

Looks great!

1 Like