⚙️Configuration
Below is a trimmed excerpt showing the most important switches. Everything is pure Lua – restart the resource after editing.
Config = {
Framework = nil, -- nil = auto
PayMethod = "bank", -- "cash" | "bank"
Language = "en", -- locales key
SpeedUnit = "kmh", -- "kmh" | "mph"
Currency = "$",
InteractionType= "npc", -- "npc" | "marker"
-- NPC settings (if InteractionType = "npc")
NPCCoords = vec4(-815.29, -1346.82, 5.15, 47.58),
NPCModel = "a_m_m_business_01",
-- Marker settings (if InteractionType = "marker")
MarkerType = 21,
MarkerScale = vec3(0.7,0.7,0.7),
MarkerColor = {r=255,g=255,b=0,a=120},
InteractionCoords = vec3(-815.29,-1346.82,5.15),
-- Map blip
BlipSprite = 545, BlipScale = 0.8, BlipColor = 1, BlipText = "Driving School",
-- Route-marker colours
RouteMarkerColors = {
Id1 = {r=255,g=255,b=0,a=100}, -- arrow pillar
Id21 = {r=255,g=255,b=255,a=200}, -- ring
Id5 = {r=255,g=255,b=255,a=200} -- finish ring
},
-- Where the student returns after the practical
BringBackCoords = vec4(-818.29,-1344.35,4.25,230.03),
-- Exam definitions (one block per license):
ExamSettings = {
car = {
enabled = true,
price = 2500,
questionCount = 10, maxMistakes = 5,
practiceVehicle = "blista",
practiceSpawn = vec4(-809.08,-1319.25,4.82,170.55),
practiceRoute = carRoute, -- see bottom of config
maxPracticeErrors = 5,
plateText = "RISKCAR",
RewardESX = {type="license", name="drive"},
RewardQB = {type="item", name="driver_license",count=1}
},
-- truck / plane / bike blocks …
}
}
Last updated