r_vehicleshop Installation
Install r_vehicleshop: download it from the Cfx.re Portal and ensure it after ox_lib, oxmysql, ESX, QBCore or QBX and your target script.
Prerequisites
- ox_lib
- oxmysql
- ESX, QBCore or QBX
- Optional: ox_target or qb-target (otherwise players press E at the seller)
Installation Steps
Download & Extract
- Download R_Vehicleshop from your Cfx.re Portal
- Extract the folder into your server's
resourcesdirectory - Make sure the folder is named exactly
r_vehicleshop
r_vehicleshop
bridgeopen: prompt style and custom target
- cl_textui.luaR.TextUI = 'custom'
- cl_target.luaR.Target = 'custom'
client
- cl_custom.luanotifications, fuel, HUD hooks
localesen, fi
server
- sv_custom.luaDiscord webhook, saving, keys
sqlonly if you import it yourself
- config.luaevery setting, shops and vehicles
- fxmanifest.lua
Add to server.cfg
Put it after ox_lib, oxmysql, your framework and target:
ensure ox_lib
ensure oxmysql
ensure qbx_core
ensure ox_target
ensure r_vehicleshopLanguage (optional, default English):
setr ox:locale "en" # en | fiStop any other vehicle shop at Premium Deluxe Motorsport (like esx_vehicleshop or
qbx_vehicleshop), or the display cars overlap.
Discord logs (optional)
Paste your webhook into Webhook at the top of server/sv_custom.lua.
Restart & connect
Restart your server, or run this in the server console. The vehicle table is created if your framework doesn't have one yet.
Go to the seller at Premium Deluxe Motorsport (map blip Vehicle Shop) and open the showroom.
Updates
The console tells you when a new version is out. Download it from the Cfx.re Portal and replace the
folder, keeping your config.lua, bridge/, client/cl_custom.lua, server/sv_custom.lua and locales.
Keep the folder name r_vehicleshop and don't change author in fxmanifest.lua, or the update
check stops.