Driving School
Dependencies
Resources STG Driving School needs to run, and the target, fuel, key and license scripts it works with.
Required
| Resource | Why |
|---|---|
es_extended, qb-core or qbx_core | Your framework |
| ox_lib | Callbacks, notifications and the help prompt |
| oxmysql | Saves licenses in the user_licenses table on ESX |
| stg_lib | Connects 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
| Resource | Effect |
|---|---|
ox_target or qb-target | Players open the menu by targeting the instructor. Without one, they press E. |
stg-vanaheimfuel, ox_fuel, LegacyFuel, cdn-fuel or ps-fuel | The 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_vehiclelock | The player gets the exam vehicle's keys, and they are removed when the exam ends. |
stg-walletv2 | License cards in the wallet refresh as soon as a license is earned. |
cs_license | A 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.
Exports
Check, give and remove STG Driving School licenses from your own scripts, and see where licenses are saved on ESX, QBCore and QBOX.
Advanced Warning Zone
A free warning zone script for FiveM. Police and other allowed jobs mark robberies, shootouts and raids on the map with a timed zone that warns every player who walks in.