Domas Scripts
v1.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Config
Copy Markdown
Open in ChatGPT
Open in Claude
Lua
x
Config = {} Config.Debug = false Config.DiscordLog = trueConfig.Webhook = '' Config.Framework = 'qb' -- qb/esx Config.MultiSyncFlash = true -- if false, only the player who gets fined will see light effect Config.UseKMH = trueConfig.VersionCheck = true Config.WipeRecentData_Hour = 20Config.WipeRecentData_Minute = 01 Config.FlashLightColor_Red = 255Config.FlashLightColor_Green = 0Config.FlashLightColor_Blue = 0 Config.FlashAtCameraCoords = true -- The flash will come from camera, not player when player get cougt Config.MomentalSpeedRadars = { [1] = { id = 1, coords = vector3(73.17218, -1074.054, 29.41581), blip = { enabled = true, label = 'Speed Camera', sprite = 184, size = 1.0, color = 1, }, radius = 10.0, speed = { enabled = true, maxSpeed = 50, defaultPrice = 10, prices = { -- % | price [10] = 50, -- if player moves faster than 10% of maxSpeed he will get 10% larger bill than default [20] = 100, [30] = 200, [40] = 600, [50] = 1000, } }, effects = { message = true, flash = true, sound = true, -- Must be installed (https://github.com/LondonStudios/PlayCustomSounds) }, prop = { enabled = true, model = 'prop_cctv_pole_01a', coords = vector4(59.18497, -1072.717, 28.4441, 182.3376), }, techas = false, -- vehicle inspection/safety inspection insurance = false, interaction = { access = { enabled = true, jobs = { ['police'] = 2, -- JOB NAME | GRADE }, toggleActivity = true, }, breakable = { enable = true, item = 'lockpick', timeout = 10, -- For how many seconds camera will be off }, } }} Config.AverageZoneRadars = { [1] = { oneWay = false, Point1 = vector3(2368.482, 5774.361, 45.65579), Point2 = vector3(2122.8, 6022.131, 50.71428), radius = 15.0, blip = { enabled = true, coords = vector3(2258.415, 5907.758, 48.88003), label = 'Average speed zone camera', sprite = 184, size = 1.0, color = 5, }, effects = { message = true, flash = true, sound = true, }, maxTime = 10, -- in seconds, if the player meets these 2 points faster, he will be billed, also timer will be stoped if it passes this number prices = { -- time in seconds | price [1] = 1000, -- if player passes these points in 1 second, it will be fined 1000 [2] = 500, [4] = 450, [5] = 430, [6] = 420, [8] = 400, [9] = 300, [10] = 100, }, prop = { enabled = true, model_Point1 = 'prop_speed_camera', coords_Point1 = vector4(2109.02, 6022.644, 49.82437, 40.45408), model_Point2 = 'prop_speed_camera', coords_Point2 = vector4(2369.794, 5759.361, 44.90049, 234.0001), }, }} Config.RoadSignModel = 'prop_sign_road_07b'Config.RoadSigns = { vector4(79.99592, -1026.516, 28.45956, 165.0899), vector4(77.01825, -1113.44, 28.29134, 337.912)} Config.Text = { ['speed_limit'] = 'Speeding', ['max_speedzone'] = 'Speeding in average speed zone', ['caught'] = 'You`ve been caught speeding', ['Recent Camera Data'] = 'Recent Camera Data', ['radar_on'] = 'Radar is now ON!', ['radar_off'] = 'Radar is now OFF!', ['radar_no_data'] = 'No recent data found.', ['cancel'] = 'You`ve cancelled the action', ['no_perm_jammer'] = 'You`re not able to use the scanner!', ['sure'] = 'Are you sure?', ['jammer_install'] = 'Are you really sure that you want to install the jammer?', ['jammer_uninstall'] = 'Are you really sure that you want to uninstall the jammer?', ['must_be_in_vehicle'] = 'You must be in vehicle', ['vehicle_has_jammer'] = 'Vehicle already has jammer!', ['vehicle_hasnt_jammer'] = 'Vehicle does not have jammer!', ['jammer_installed'] = 'Jammer installed!', ['jammer_installed_not'] = 'Jammer was not installed!', ['no_plate_provided'] = 'No plate provided.', ['jammer_removed'] = 'Jammer has been successfully removed from the vehicle.', ['jammer_removal_failed'] = 'Failed to remove the jammer. Please try again.', ['no_jammer_found'] = 'No jammer found for this vehicle.', ['remove_time'] = 'Removed at:', ['remove_plate'] = 'Plate:',} Config.Jammer = { enabled = true, itemName = 'domas_jammer', itemName_Remover = 'domas_jammer_remover', itemName_Scanner = 'domas_jammer_scanner', scannerOnlyJobs_ = true, -- if false, everyone will be able to use it scannerOnlyJobs = { ['police'] = 0, -- Job name | Grade ['mechanic'] = 1, }, jammerChance = 100, -- 100 percent to work. webhook = '', -- Webhooks will be send here, when player who used jammer got away. beeps = { enabled = true, -- It will play sound when player is near camera cooldown = 1000, sound = 'domas_beep', volume = 0.5, distance = 5.0, howClose = 100, -- How close player has to be to it start to beep }, notifyPolice = { enabled = true, -- Notify police when player used a jammer and did not get fined vehicleMade = true, -- Send this data to dispatch vehicleModel = true, -- Send this data to dispatch vehiclePlate = true, -- Send this data to dispatch }}Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Clientnull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message