Speed Cameras v1.1.0

Speed Camera System | ESX & QBCore

Transform your server’s traffic enforcement with the most feature-rich, optimized, and user-friendly speed camera system on the market. Designed from the ground up for performance and immersion, this script delivers a comprehensive solution for stationary radars, average speed zones, and an engaging penalty system that will keep your players accountable and your police force busy.

Say goodbye to laggy, hard-coded scripts. Our system is built for servers that demand performance, allowing you to add dozens of radars without impacting client FPS.

Key Features

  • Zero-Lag Performance: Incredibly optimized code ensures 0.00ms-0.01ms idle resource usage and minimal impact even with numerous active radars. Your server’s performance is our priority.
  • In-Game Admin Panel: A beautiful, modern UI allows admins to create, edit, and delete all radars and zones directly in-game. No more file editing or server restarts!
  • Stationary & Average Speed Zones: Create classic speed cameras or complex average speed zones that calculate speed over a set distance.
  • Advanced Penalty Points System: Issue fines and penalty points for infractions. Points decay over time, and reaching the maximum can trigger a configurable license revocation.
  • Dynamic Fine Collection: Fines accumulate at radar locations, creating a new objective for police! Authorized jobs can collect the money, adding a new layer to your server’s economy and police gameplay.
  • Player Radar Detector: A functional in-game item that alerts players to nearby radars with a clean, customizable UI (position, scale, and theme can be changed by the player!).
  • Plug & Play Framework Support: Works flawlessly with both ESX and QBCore frameworks right out of the box. Our “Framework Bridge” handles all the heavy lifting.
  • Powerful Discord Integration: Keep track of everything with detailed Discord webhooks for admin actions, fine collections, log access, and periodic server statistics.

Immersive Enforcement & Police Gameplay

This system is designed to create engaging scenarios for everyone.

  • Realistic Job Immunity: Configure police and EMS immunity with precision. Choose between a simple job whitelist or an advanced mode that requires sirens to be active in an authorized emergency vehicle to avoid fines.
  • Detailed Infraction Logs: A dedicated UI for law enforcement allows them to search for players by name or identifier and view a detailed history of all their speeding violations, including dates, locations, speeds, and fines paid.
  • Configurable License Revocation: Automatically revoke a player’s driver’s license when they accumulate too many penalty points. You can configure the duration, whether points reset after, and even specify different license types for cars, bikes, and trucks (drive, drive_bike, drive_truck).

Intuitive Creation and Unmatched Customization

You are in complete control.

  • Visual In-Game Editor: Create average speed zones by simply driving the route and placing points. Set the start and end triggers, adjust the zone width, and even place physical camera props with a simple-to-use interface.
  • Highly Configurable: Nearly every aspect can be tweaked via the well-documented config file. Change commands, notifications, blips, radar models, immunity settings, fine amounts, point decay times, and much more.
  • Adaptable Notifications: The notification system is completely open, allowing you to integrate it with any system your server uses, such as ox_lib, pNotify, or your own custom solution.

Why Choose This Script?

  • Performance First: Built for servers that can’t afford to compromise on performance.
  • All-in-One Solution: Replaces multiple scripts with one cohesive, powerful system.
  • Ease of Use: From installation to in-game management, everything is designed to be intuitive for server owners.
  • Constant Development: Comes with a built-in version checker to notify you of updates and new features.

Dependencies:

  • oxmysql
  • PolyZone

Preview: https://www.youtube.com/watch?v=XqK0rTqaf38

ESX Download from my tebex: https://iconmodz.tebex.io/package/7026425

Qbcore Download from my tebex: https://iconmodz.tebex.io/package/7026426


Updates:

1.1.0

  1. Added database_items.sql to the [database] folder and items.png to the [items] folder for users of ox_inventory who need instructions on how to add items (as many people requested this).
  2. Fixed an issue where, on some servers, objects would not spawn after a server restart.
  3. Removed the black screen in the UI that appeared when the confirmation window popped up.
  4. Added emergency_database.sql due to Linux users being unable to edit/write in auto-generated files (see configuration in config.lua).
  5. Fixed an issue where deleted objects remained visible until the player stayed in the same spot. They now disappear instantly.
  6. Added functionality to remove, add, and edit object placements.
  7. Added a more advanced update notification system for a better experience.
  8. Fixed numerous small issues.
  9. Fixed and updated the UI design.

1.0.6

  1. Added a police anti-radar detector – now they can catch players using anti-radar devices!
  2. Anti-radar & police anti-radar: when you open the game menu, the UI now hidden.
  3. In the /eRadar menu, players with the Police job can see an extra button to modify police anti-radar detector positions.
  4. Added an extra function in the /eRadar menu to enable a dummy anti-radar for positioning purposes.
  5. Multi-language support added. You can now create a file with your own language, and after an update, simply add your language file.
  6. Optimised inventory pictures.

1.0.5

  1. Updated antiradar display & new looks.

  2. Now items you can use from inventory.

  3. Added one missed text translation in notifications.lua

  4. Most wanted racer. If player has speeds more as you set in /radarAdmin, police will start see blip of that player for short time. Check config.lua aswell.

  5. Added tooltips in /radarAdmin menu.

1.0.4

  1. Fixed qb-core framework not recognise admins. Please read in [shared] folder Readme.md instructions.

  2. Fixed issue when you creating average speed zone and trying to place 1 object, it has detect as placed 2 objects.

1.0.3

  1. Added in statistics “Top 10 Officers (Mobile Radars)”
  2. Created for statistics of Top 10 Officers (Mobile Radars) the extra database >[extra_i_speeding_infractions.sql]. Check this in [database] folder.
  3. Fixed issue with Mobile Radar configuration set/edit values & update values.
  4. Added For Mobile radars a webhooks, you will find at [server_webhooks_config] folder.

1.0.2

  1. Added two different radar object types. Now stationary radars and average speed zones have distinct models. See Config.lua.
  2. Added options in Config.lua to customize screen effects and sounds.
  3. Added mobile speed cameras.
  4. Added animations.
  5. Added “snapshot”.
  6. Fixed minor things.
  7. Check [database] folder in [item.png] folder you find mobile camera icon.
  8. For mobile camera prop:
    ensure_bzzz_pdradar
    ensure intersystems_speed_cameras

To download mobile prop camera, please visit this link and download it [FREE] -https://bzzz.tebex.io/package/6631002

1.0.1

  1. Fixed imports in some older versions of the ESX Framework.
  2. Fixed incorrect display of the Place object key in index.html

Check out my other release!:arrow_down:

Code is accessible Config.lua, notifications.lua, all html files, and some rest. No client.lua & server.lua
Subscription-based No
Lines (approximately) Total around +5k
Requirements ESX or QB-CORE
Support Yes
13 Likes

Thats Nice, a good option to add that Player can Place Speedcams like A Mobile Speedcam an Can Controll it

1 Like

Thanks for your reply. This is only version 1.0.0, and I still have a lot of features to add to the system. I’ll start with multiple anti-radar functions, where different anti-radars perform different tasks. I also plan to add speed camera jammers, implement more advanced logic to detect average speed zones (currently it only detects between two roads, like A & B, but I want it to handle A, B, C, D within one zone), and many other improvements.

1 Like

And I forgot to mention, i will definitely add this option. I just wanted to create the “base” first and release it to see how the system performs, and then build on it.

2 Likes

That would be really great, becuase its an Mega Option also for other servers

1 Like

In progress! :camera_flash: Many thanks to BzZzi for the free prop! Everything will be updated, including all links for where to get this prop as well!



3 Likes

Great Great

1 Like

looking good

2 Likes

Hay great script so far!
But i think it would be much better if you handle the license plate in your script and not the driver itself.
give the ticket to the vehicle owner and not the driver. would make much more sense :slight_smile:

maybe you could add this into then config?

1 Like

Yes it’s good idea. Just need to think, how to charge the owner, or take money from him instantly or create the “Fine menu” with limited time to pay or something similar

yeah it is an good option, but if where good when you can do an boolean, i mean a true or false, that the drtiver get the ticket or the owner.

Also good Feature is when you can Put Tape on your License Plate and dont get an Ticket because license Plate is Hidden

1 Like

You giving me good ideas guys! :sunglasses:

I pushed new update with mobile cameras aswell, if someone has downloaded, can re-download!

1 Like

Nice,
Thank you

1 Like

I have downloaded this script as it looks beautiful and I am really excited to use it in my qb-core server. However sadly I was let down to find that it is not working to actually do any of the speed cameras even though I followed the setup and everything. I would also like to note it says to edit the server webhook.lua files with discord webhooks but you have it locked as they are not escrow ignored. Hopefully looking forward to a possible fix update soon as it looks great and I am not hating.

1 Like

Hi, currently im not at home, could you cantact me via discord? I think i do unlocked server_webhooks_config.lua… if not i will update that around in couple hours.

Before 30mins i had test it on qb-core framework, and its works smoothly.

So please contact via discord, i will help you to set up.

If you are not at home it is not a problem, I had my server developer look into it and he cannot figure it out either it is no rush :slight_smile: I am not trying to leave negative review because it all works perfectly fine up until I click save for the camera I dont get an error or anything, take your time as your time is important :smiley:

Write /admin command, select player menagement, do yourself as admin, and try again…

Im not qb-core fan, its bit a little challenge for me this :slight_smile:

QBCore isn’t too too bad tbh but I have dealt with it a while, this is now the dev for the server btw. I do get why it is an issue but I checked using the QBCore default admin menu which sadly still didn’t enable the ability for staff to make the speed radar/camera/zones. It doesn’t even notify when you click save and produces no errors in the backend. I also double triple checked and the webhook files are locked. Sorry for causing you troubles reporting this back to you :frowning: P.S. love the script and it is better than I could do.

1 Like

No worrie at all, everything is fine. Just contact me via discord and i will try to help you. Its be more easier to communicate

And when you try to create the stationary radar, average speed zone, in the auto generated files nothing saves right?

Btw, are you try to use the mobile camera?