STG ScriptsDocumentation
Used Vehicle Shop

Dependencies

Resources STG Used Vehicle Shop needs to run, and the optional scripts it works with.

Required

ResourceWhy
es_extended, qb-core or qbx_coreYour framework, with its owned vehicles table
ox_libMenus, prompts, notifications, callbacks and vehicle mods
oxmysqlSaves listings and moves the vehicle to the buyer
stg_libConnects the script to your framework and its money

Optional

ResourceEffect
ox_target or qb-targetPlayers target the dealer NPC. Without either, an [E] prompt shows next to the dealer.
jg-vehiclemileageReal 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-fuelThe 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_vehiclekeysKeys 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.

Get help on Discord

On this page