STG ScriptsDocumentation
Driving School

Driving School

Car, motorcycle, truck, helicopter, plane and boat licenses with a theory exam, a practical test on a real route, road events and penalty points.

STG Driving School replaces the old license test with a full exam. Players talk to the instructor, pay for a license, pass a theory exam and then drive a practical test on a real route with an examiner in the passenger seat.

Features

Six license types

Car, motorcycle, truck, helicopter, plane and boat, each with its own price, vehicle and route. Add your own in the config.

Theory exam

Multiple choice questions for every license type, with shuffled answers, a passing score and an optional refund on a fail.

Practical test

Drive through checkpoints against the clock with the examiner beside you. Speed limits change along the route.

Road events

A pedestrian crossing, a traffic light, a look left and right before joining the road and a dog running across, each with its own camera.

Penalty points

Speeding and vehicle damage cost points. Too many points, running out of time or leaving the route fails the test.

Hooks and exports

Block exams with your own rules, react when a player passes and check or give licenses from other scripts.

At a glance

License types6 (car, motorcycle, truck, helicopter, plane, boat), add your own in the config
FrameworksESX, QBCore, QBOX through stg_lib
License storageuser_licenses table on ESX, licences metadata on QBCore and QBOX
Interactionox_target, qb-target or an [E] prompt
Languages16 included

Next steps

Still having trouble?

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

Get help on Discord

On this page