Used Vehicle Shop
Dependencies
Resources STG Used Vehicle Shop needs to run, and the optional scripts it works with.
Required
| Resource | Why |
|---|---|
es_extended, qb-core or qbx_core | Your framework, with its owned vehicles table |
| ox_lib | Menus, prompts, notifications, callbacks and vehicle mods |
| oxmysql | Saves listings and moves the vehicle to the buyer |
| stg_lib | Connects the script to your framework and its money |
Optional
| Resource | Effect |
|---|---|
ox_target or qb-target | Players target the dealer NPC. Without either, an [E] prompt shows next to the dealer. |
jg-vehiclemileage | Real mileage on the info card. Without it, mileage shows 0 unless you add your own export in getMileage. |
ox_fuel, LegacyFuel, cdn-fuel, ps-fuel or stg-fuel | The test drive car gets a full tank through your fuel script. |
qbx_vehiclekeys, qb-vehiclekeys, qs-vehiclekeys, wasabi_carlock, t1ger_keys, mk_vehiclekeys, cd_garage, vehicles_keys, jaksam or renzu_vehiclekeys | Keys for the test drive car are handed out and taken back through your key script. |
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.
Configuration
Every option in STG Used Vehicle Shop config/config.lua, from locations and parking spots to blocked classes, test drives, mileage, fuel and vehicle keys.
Sticky Notes
Write a note, pick a color and font, and stick it on any wall or surface. Notes are saved and shared with every player nearby.