Documentation / EP-DrivingSchool

Routes, vehicles & parking

Instructor location

Config.SchoolNPC default model a_f_y_business_02, coords vector4(240.58, -1379.12, 33.74, 140.0). Configure blip, scenario and interaction distance. Use E interaction or an installed target resource.

Vehicle and trailer spawns

Config.VehicleSpawns defines multiple vector4 spawn positions by category. TrailerSpawns defines separate pickup locations for BE and CE. BE defaults to bison + trailersmall, CE to phantom + trailers. Verify spawn space, road alignment and attachment. The code includes optional qbx_vehiclekeys/qb-vehiclekeys handling.

Custom routes

Config.Routes.default serves categories without a dedicated route; be, ce and d have dedicated routes in the shipped config. Change checkpoints and instructions together. Add parking=true for a parking checkpoint and reverseRequired for a minimum reverse distance. Config.ParkingDimensions controls rectangular parking zones by category. Review parkingHeadingTolerance and clear-area settings. Custom maps and MLOs may require route calibration.

Stop signs and highways

Config.WorldStopSigns controls models, detectionRadius, stopRadius, stoppedSpeed, cooldown and height difference. Existing GTA stop sign props are used. CitySpeed, HighwaySpeed and SpecialHighwaySpeed depend on the configured speed unit. Test highway transitions and parking at the final checkpoint.

Examiner and errors

Config.Examiner.enabled defaults true; category A is excluded. More than the allowed errors fails the exam, while some conditions can end it immediately (for example NPC collision when NPCCollisionInstantFail is enabled or vehicle-return timeout). Test conditions on a development server.

Login Required

You need to login with your CFX account before adding packages to your basket.