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

A script by GrapsZ

No reviews yet.
[ESX/QBCore/OPEN SOURCE] Speedcameras with props (Sabotage / Spray Bomb / Synced Points System) main image

Full Description

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.

discord_alert

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)