Configuration
Config File (config.lua
)
config.lua
)Config.Debug: Toggles debug mode. Set to
true
to enable detailed logging for troubleshooting.Config.WarningCount: Number of warnings allowed during practical exams before failing.
Config.TheoryExamCurrentPercent: Percentage of questions that must be answered correctly to pass the theory exam.
Config.MoneyRemoved: Determines where money is deducted from, either 'cash' or 'bank'.
Config.Language: Sets the language for the script. Default is 'en' for English.
Config.TheoryExamTime: Duration of the theory exam in minutes.
Config.Blip: Configures the map blip for the DMV school.
haveBlip
: Shows or hides the blip.coords
: Location of the blip.name
: Name displayed on the map.sprite
,color
,scale
,display
: Visual settings for the blip.
Config.NPC: Defines NPC settings for interaction.
model
: NPC model type.coords
: NPC location.heading
: Direction NPC faces.text
: Text displayed when near the NPC.eventName
: Event triggered when interacting with the NPC.target
: Iftrue
, uses a targeting system; iffalse
, uses text UI.
Config.CheckPoint: Settings for checkpoints in practical exams.
color
: Color of the checkpoint.type
: Type of checkpoint marker.
Config.Tests: Configurations for different vehicle tests.
Vehicle
: Type of vehicle used in the test.speedLimit
: Maximum speed allowed during the test.time
: Time limit for the test.VehicleSpawn
: Spawn location for the vehicle.Checkpoints
: List of checkpoints with coordinates and radius.
Config.DefaultLicense: Default settings for licenses.
name
,label
,description
: Details of the license.img
: Image associated with the license.price
,theoryPrice
: Cost of obtaining the license.expire
: Expiration period in days.
Questions Example
question: The text of the question.
a, b, c: Answer options.
correct: The correct answer option.
img: Path to an image related to the question (optional).
Locale
Last updated