infoConfiguration

Below we have explained some of the key features found in our Config file within the Speed Camera Script.


Framework

circle-info

Select your framework (by default the script will auto detect)

Config.Framework = 'auto' -- 'auto', 'esx', 'qbcore', 'standalone'

Speed Detection Characteristics

circle-info

The detection characteristics will depend on your servers HUD settings. This is because some servers use MPH and others use KPH.

Config.SpeedReading = 'mph' -- Options: 'kph' or 'mph'

Authorised Licenses

circle-info

You can set the Allowed members that will be authorised to place, edit and delete your Speed Cameras. You can grab you License from your TxAdmin Console.

Config.AllowedLicenses = {
    ["license:############"] = true, -- Set to true to allow
    ["license:############"] = false, -- Set to false to disable
    ["license:############"] = false,
}

Quick Speed Settings

circle-info

This setting allows you to configure default speeds to the placement UI, this will then show as buttons rather than you or your staff needing to type it out each time.


Keybindings

circle-info

The Keybindings to move the prop around during placement and editing can be customised in the Config file to ensure it doesn't clash with other script you may have. The keybinds can be found here -> CLICK HEREarrow-up-right


Vehicle Configuration

circle-info

In this section you can set the vehicles you wish to ALLOW to travel through the Speed zones without being charged. This is useful to stop your emergency vehicles being charged when responding to calls or when tracking down criminals.


Config File before edits

Last updated