Config = {} ------------------------------------------------- -- MODELS ------------------------------------------------- -- Drone vehicle model Config.DroneModel = "fd_drone" -- Vehicles that can deploy the drone Config.AllowedCars = { "22expdr" } ------------------------------------------------- -- TRUNK INTERACTION / SPAWN ------------------------------------------------- -- Where the player must stand (relative to vehicle) to see E prompt Config.TrunkOffset = { x = 0.0, y = -3.0, z = 0.30 } -- Radius around that point to allow deployment Config.TrunkRadius = 2.5 -- Where the drone spawns (relative to vehicle) Config.DroneSpawnOffset = { x = 0.0, y = -4.0, -- further behind the truck (clears bumper) z = 0.80 } ------------------------------------------------- -- BATTERY & RANGE ------------------------------------------------- Config.BatterySeconds = 600 -- 10 minutes (600) default 10min Config.MaxRange = 450.0 -- max distance from base vehicle Config.RangeSoftWarn = 0.70 -- soft warning at 70% range Config.RangeHardKick = 0.95 -- forced return at 95% range ------------------------------------------------- -- KEYS ------------------------------------------------- Config.KeyLaunch = 38 -- E (deploy) Config.KeyReturn = 23 -- F (safe return) ------------------------------------------------- -- SPOTLIGHT SETTINGS ------------------------------------------------- Config.Spotlight = { EnabledKey = 74, -- H RotateLeft = 174, -- LEFT arrow RotateRight = 175, -- RIGHT arrow RotateUp = 172, -- UP arrow RotateDown = 173, -- DOWN arrow AdjustWider = 10, -- PG UP AdjustNarrow = 11, -- PG DN RotationSpeed = 1.0, -- degrees per tick AdjustStep = 0.15, -- beam width step LightRadius = 10.0, LightIntensity = 20.0, LightFalloff = 2.0, LightRange = 90.0, DefaultPitch = -10.0, DefaultYaw = 0.0, MaxPitchUp = 15.0, MaxPitchDown = -85.0, MaxYawLeft = -120.0, MaxYawRight = 120.0 } ------------------------------------------------- -- ANPR ------------------------------------------------- Config.ANPR = { CommandName = "droneplateread", -- /droneplateread MaxDistance = 800.0, -- you already set this ScanIntervalMs = 1000 -- auto-scan interval } ------------------------------------------------- -- VIEWER (K) ------------------------------------------------- Config.Viewer = { MaxDistance = 4.0, -- must be within 8m of the truck EnableJobCheck = false, AllowedJobs = { "police", "sheriff" } -- editable LEO list } ------------------------------------------------- -- NOTIFY HELPER (GTA feed) ------------------------------------------------- function Config.Notify(msg) BeginTextCommandThefeedPost("STRING") AddTextComponentSubstringPlayerName(msg) EndTextCommandThefeedPostTicker(false, false) end