STG ScriptsDocumentation
Driving School

Dependencies

Resources STG Driving School needs to run, and the target, fuel, key and license scripts it works with.

Required

ResourceWhy
es_extended, qb-core or qbx_coreYour framework
ox_libCallbacks, notifications and the help prompt
oxmysqlSaves licenses in the user_licenses table on ESX
stg_libConnects the script to your framework and handles the exam fee
esx_license (ESX only)Creates the user_licenses table the licenses are saved in

Optional

ResourceEffect
ox_target or qb-targetPlayers open the menu by targeting the instructor. Without one, they press E.
stg-vanaheimfuel, ox_fuel, LegacyFuel, cdn-fuel or ps-fuelThe exam vehicle spawns with a full tank through your fuel script.
qbx_vehiclekeys, qb-vehiclekeys, qs-vehiclekeys, wasabi_carlock, t1ger_keys, mk_vehiclekeys, cd_garage, vehicles_keys, renzu_vehiclekeys or esx_vehiclelockThe player gets the exam vehicle's keys, and they are removed when the exam ends.
stg-walletv2License cards in the wallet refresh as soon as a license is earned.
cs_licenseA license card is given when the practical exam is passed.

Still having trouble?

Open a ticket on our Discord. Our team answers around 15 hours a day.

Get help on Discord

On this page