Speed Cameras v1.1.4

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 or ox_lib

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.4

  1. Added EZELS – Emergency Lighting System integration.
  2. Upgraded the snapshot system — it can now take pictures of speeding vehicles. (Requires the screenshot-basic resource.)
  3. Added a new Discord webhook that sends speeding snapshots with pictures.
  4. Unlocked server\server_webhooks_config\server_webhooks.lua

1.1.3 (Silent update)

  1. Added Config.ForceExactObjectPosition to the config.lua file. Setting this to true forces the script to spawn objects at their exact saved coordinates, completely bypassing the default GTA 5 physics engine. (This is for custom props, becouse some custom props build in different ways)

1.1.2 (Silent update)

  1. Add and improve inventory item checking.
  2. Fixed issue for ox_inventory if player drop anti_radar item, his still able to use it.

1.1.1 (Silent update)

  1. Added missed database file in [database] folder of i_radar_templates.

Check out my other release!:down_arrow:

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
15 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.

2 Likes

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?