Configuring the resource

Speed Camera Van is highly configurable, meaning you can change all aspects of the resource for your server

To begin configuring the resource, open the config.lua file within the resource folder.

Setting the van model

To set the van model, change the vanModel section of the config.lua file, with the following spawn codes:

  • Non-ELS van: speedcameravan

  • ELS van: speedcameravanels

Removing an unwanted van

By default, both the ELS and Non-ELS vans are included within the resource files. To remove one of these, carry out the following actions:

  1. Within the stream folder, either delete the els or non-els folder.

  2. Within the data folder, either delete the els or non-els folder.

As only one van is required for the resource to work, it is unlikely you will need both for your server - so removing one of the versions prevents two copies of the same van being streamed, which may affect performance on some servers.

Screenshot Basic Integration

Speed Camera Van has optional support for Screenshot Basic, which is a free resource that allows screenshots to be taken of player's screens. This can be downloaded here.

The Screenshot Basic integration allows photographs to be taken of speeding vehicles and displayed on the in-game menu for the van operator.

If you want to enable the Screenshot Basic integration, set use to true within the Screenshots section of the config.lua file. If you have changed the default folder name of Screenshot Basic, make sure to adjust that in our config file so the exports work properly.

Display Settings

The use option here allows you to enable the display for nearby vehicles, giving them the current speed and warning them of the fact that there is a speed camera van nearby.

The showSpeedLimitSign allows you to toggle the speed limit on/off for nearby vehicles.

The notifyPlayersOfVans allows you to toggle whether nearby drivers receive notification that they are passing nearby to a speed camera van.

The ScreenCoords section allows you to adjust the position of the speed limit on the user's screen, incase it interferes with any third party UI resources, such as speedometers or maps.

Keybinds

The keybinds section allows you to change all of the default keybinds used by the resource. For a list of keybinds and their respective numbers, see the FiveM documentation here.

Ignore NPC's

This setting allows you to set the resource to ignore NPC driven vehicles when checking for speeding violations.

Speed Limits

This section allows you to set the default speed limit that is used by new speed camera vans, along with whether you want to enable custom speed limits, which can be set in the menu when the camera is installed. In this section, you can also set the minimum and maximum speed limits - preventing abuse by players who may seek to set a very low speed limit.

Charges

This section allows you to configure the different fines, including the charge cooldown, the default standard charge and whether custom charges can be setup when installing the camera.

Alternatively, you can enable the customSpeedCharges section and pre-configure the charges for different speed limits beforehand in the config file, preventing players from choosing the fine amount themselves.

Fine Framework

In this section, you can enable framework billing support for the fines to be issued to players. In this section, we also have support for okokBilling and mBilling.

Society Integration

We have support for society integration, allowing fines to be sent directly to a society account. In this section, you can set the account name and the integration type to enable. The contribution percentage allows you to set the percentage of fines that the society receive, which is 100% by default.

Translations

The translations section of the config.lua file allows you to translate the resource into another language.

Sound Effects

The sound effects section allows you to adjust the sound effects used by different elements of the resource and whether to enable/disable them overall.

Notifications

This section of the config file allows you to enable/disable notifications, along with enabling integrations for different notification systems including QBCore, QBX, ESX, vRP and okok.

Permissions

This section allows you to enable permissions to use the Speed Camera Van, with support for Ace Permissions, ESX, vRP, QBCore and QBX.

Last updated

Was this helpful?