[ESX/QBCore/OPEN SOURCE] Speedcameras with props (Sabotage / Spray Bomb / Synced Points System)

Who are we?

We are two long time friends and currently have a server under development. However, we want to share our knowledge.

GZ : Developer

Fizz : Mapper

What is that script ?

With GZ_Speedcams you can position speedcams anywhere on the map.
These speedcams can be sabotaged by the players (so they won’t give any more ticket because they will be non functional) and cleaned by the police (to make them functional again).
A system of point withdrawal and / or driving license is also included in the script. Everything is fully configurable.

More explanations in the details.

Détails

In GZ_Speedcams you can do the following:

  • Place speed cameras anywhere on the map, set the speed of each camera, the range of capturing the speed of a vehicle.

  • Set a tolerance so that the radar does not distribute an automatic ticket to the players when they exceed the speed of very little. Ex Speedcam set to 140Km/h with a tolerance of 10, the player will receive a ticket from 150km/h.

  • Players will be able to sabotage speed cameras with a spray paint can to make them non-functional.

  • Law enforcement agencies will be able to check the speed cameras to clean them up and reactivate them.

  • If you use QB-Management, you will be able to set up a company to receive the money from the tickets. This is ideal for your economy and to put players’ money back into the game.

  • Define alerts or not (random calculated with full settings) for law enforcement. If the player who sabotages is unlucky, the police will be alerted that a speed camera has been sabotaged in such and such a street, without any further information.

  • An alert is sent to all police officers on duty, when a vehicle is caught speeding (indicating the street, the vehicle plate and the speed).

  • Integration of a company vehicle pick-up system. This option will require a slight modification in your database as well as in your vehicle sales script (We can guide you for your vehicle script if it is not locked with escrow). We will talk about this in more detail below in the section: How it works.

  • Discord alerts can be turned on or off when a vehicle is caught speeding.

  • Possibility to use a speed camera detector in order to display on its map all the speed cameras installed. This can be considered as an illegal item and can also be used by your players to avoid being caught speeding.

  • To sabotage a speed camera, you will need a can of paint. The sabotaged radar is modified (change of props for all players).

  • Radars and their status (active / sabotaged) are synchronized between all players. The synchronization is also done at each change of status of a radar.

  • The script is 100% optimized. It varies between 0.00 and 0.03ms (see videos during use)

Societies Details

Toutes ces descriptions se produiront si et seulement si le joueur est en excès de vitesse et passe devant l’un des radars de GZ_Speecams :

  • Lorsqu’un joueur conduit un véhicule qui est volé, il est flashé, mais cependant ne paie pas de contravention (n’est pas le propriétaire du véhicule.).

  • Lorsqu’un joueur conduit le véhicule d’un autre joueur, il est flashé cependant la contravention est payée par le propriétaire du véhicule.

  • Lorsqu’un véhicule de société est flashé, le conducteur est flashé, mais la contravention est payée par le compte de l’entreprise (qb-management). Le patron est alerté que l’un de ses véhicules a été prit en excès de vitesse, il reçoit par email (qb-phone et qs-smartphone actuellement) les informations suivantes : Vitesse relevée, contravention payée et plaque du véhicule de sa société.

  • It is possible to define plates or parts of plates of vehicles that can be flashed and for which the driver will still receive a ticket. This is ideal for job center vehicles.

  • A point deduction system is in place. Depending on the offence the player can lose points. If he has no points left, he will lose all his driving licenses and will have to take them again. This configuration is detailed in the README.md of the resource.

UPDATE EDITION :

It’s not possible to use the Drawtext3D (included in the code) instead of the third eye.

Support

We are available on discord and github for any support. Concerning the installation, everything is explained in the resource (README.md).
Do not hesitate to contact us, suggest improvements, etc..

Preview

[Little situation]

[Mail alert example]

[Status persist]

[Speedcams synced]

[Detector & more]

Requirements QBCORE

(Not required but better) :

Requirements ESX

(Not required but better) :

Tebex

[QBCORE - Buy it for 10€ + VAT]

[QBCORE OPEN SOURCE- Buy it for 20€ + VAT]

[ESX - Buy it for 10€ + VAT]

[ESX OPEN SOURCE- Buy it for 02€ + VAT]

Others Links

[GZ_Weaponsdetector]

[GZ_Prostitutes]

Code is accessible Yes/No (Yes open source release)
Subscription-based No
Lines (approximately) ~1100 without language & config files
Requirements depends to your version, cf topic
Support Yes (github & discord)
1 Like

for ESX i’d take it in a heartbeat, strong possibilities but guys!

I don’t know ESX very well, at least there are a few things that have probably changed.
I remember a bit about ESX legacy.

I’m going to look at it this weekend and I think it’s possible to make an ESX version. =)

1 Like

add open source and you have a sale

The QBCore Open source version is planned yes. For ESX it will be necessary to wait a little because I am in the course of adaptation of the script which should arrive this week.

QBCore Update, ESX Release & OPEN SOURCE Added

Many people have asked us to make the ESX version of the script available as well as the OPEN SOURCE versions.

This is currently available.

Small features for ESX: We have added the possibility to run the script with NWPD (Phone).

The links have been updated in the initial topic.

  • ESX Screenshots (with the native esx notifications and nwpd phone):

If you have any problem, join us on discord or open an issue on github =)

Salut ! Vraiment sympa, beau script ! Les radars sont à placé en jeu, ou il y’a un config pour les placer ?

Salut. Merci pour ton message. Il ye a bien un fichier de config, dans lequel sont placés deux radars en guise d’exemple. Tu peux ensuite en rajouter autant que tu veux et ou tu veux simplement en plaçant les coordonnées, en fonction des exemples =)

EN : Hi. Thanks for your message. There is a config file, in which two radars are placed as an example. You can then add as many as you want and where you want simply by placing the coordinates, according to the examples =)

Prices updated :

Escrow => 15 to 10€
Open Source => 30 to 20 €

1 Like

Hello, a price drop is on the way, but we would like to know more about your impression if this kind of script is interesting or ideas. Good game to you.

1 Like

can you make ox target as optional and 3d text as second option? then i will instantly buy it

Do you have an example of the 3d text you’re speaking ? Where do you need this feature ?

For example cd_drawtext or from ox_lib / esx helptext to interact with the speedcams

1 Like

Oh ok . I can made a ox-target compatibility if you want ?

1 Like

Version updated !

ox_target : Is now 100% working with all versions (ESX, QBCore)

Hey all.

A new resource has just been released !

GZ_weaponsdetector A great weapons detector for QBCore.
More informations here : [QBCORE -ESCROW & OPEN SOURCE] GZ Weapons Detectors (For an optimal RP experience)

is it possible to add drawtext?

on the speedcam ?
instead of using qb-target for example?

right, we don’t use qtarget or anything else like that?

hum ok no prob. Are you using polyzone or not ? QBcore or ESX ?