Velocity Radar
Velocity Radar is a speed radar system that can be used on your server.
Parameters
The Velocity Radar configuration has the following parameters:
enabled
(boolean): Enables or disables the speed radar on the map.activateFXFlash
(boolean): Activates or deactivates the visual effects (flashing) of the speed radar.account
(string): Specifies the account from which money will be deducted if the speed limit is exceeded.amount
(number): Specifies the amount of money to be deducted if the speed limit is exceeded.useMph
(boolean): Indicates whether the unit system mph (miles per hour) is used instead of km/h (kilometers per hour).onDispatchCall
(function): Function that is executed when the speed camera sends a dispatch signal. You can customize this function according to your needs.onHistoryToMDT
(function):Function that is executed when the history is sent to the mobile terminal system (MDT). You can customize this function according to your needs.ignoredjobs
(table): List of jobs that the speed camera will ignore.zones
(table): List of zones where the speed radar is located. Each zone has the following parameters:label
(string):Zone label.velocityRanges
(table): List of speed ranges allowed in the zone. Each range has the following parameters:limitFrom
(number): Minimum speed limit of the range.price
(number): Price of the fine for exceeding the speed limit in this range.limitTo
(number): Maximum speed limit of the range (optional).
coords
(vector3): Coordinates of the speed radar in the area.width
(number): Speed radar width (radius).beforeEnterInZoneAlert
(boolean): Indicates whether an alert should be displayed before entering the speed camera zone.beforeEnterInZoneAlertMargin
(number): Margin before the warning zone before entering the speed radar zone.autoBill
(boolean): Indicates whether the fine should be automatically charged.notifyInfractor
(boolean): Indicates whether the offender must be notified of the fine.sendAlertToPolice
(boolean): Indicates whether a dispatch signal should be sent to the police.sendHistoryToMDT
(boolean): Indicates whether the history should be sent to the mobile terminal system (MDT).blip
(table): Configuration of the blip associated with the speed radar. It has the following parameters:enabled
(boolean): Activates or deactivates the speed radar blip.color
(number): Blip color.sprite
(number): Blip Sprite.scale
(number): Blip scale.text
(string): Blip title.
An example configuration for the Velocity Radar is shown here:
Last updated