[ESX,QB] Speed Warning Radars
This premium resource is a great addition to any roleplay server, adding speed warning radars around the city. These intelligent devices detect the speed of traffic approaching it, if they are speeding, the sign will turn on and flash, alerting the driver to slow down. The resource is highly configurable and you can easily add more signs.
We’ve pre-installed over 60 speed warning radars in the configuration file, making this easy to install and use. The resource contains the ability to use MPH/KM/H simply in the configuration file and we provide cameras for 30, 40, 50 & 60 MPH / KM/H zones. Adding radars is as simple as choosing the coordinates and the limit.
Usage
This script works by detecting a speeding vehicle. As you approach any speed radar around the map, your speed is calculated. If that speed exceeds the limit configured for that radar, it will activate – turning on a slow down sign along with the limit and alternating orange lights will flash to make you aware you are speeding.
Once you respond by slowing down, the radar will turn off. It will also turn off once you drive away even if you didn’t slow down.
Features
Vehicle Activated – These activate upon the presence of a speeding vehicle and deactivate when the vehicle is no longer speeding, or has left the area.
Realistic – We’ve designed our radars like real-life, with alternating flashing orange lights along with a slow down message.
Multiple speed limits – This resource supports 30, 40, 50 and 60 mph or km/h limits.
Emissive / Bright – These signs are emissive, making them effective both at night and during the day, controlling speed at all hours in the city.
Highly configurable – This is one of our most configurable resources yet, allowing you to adjust everything such as changing from mph to km/h and much more.
Add additional radars – In the config file, you can easily add more speed warning radar locations by defining the coordinates and the limit, when the script starts, they are all generated.
Configuration
You can easily open the config_speedwarning.lua and configure the script to your liking.
- The first section is called main, allowing you to set the leeway given before a radar is activated. This can be set to 0.0 to activate as soon as the driver exceeds the limit. Alternatively, you can set this to 1.0 or 2.0 to allow a leeway.
- You can also enable km/h rather than mph, if this is set – you should also change the speed limits various radars accordingly.
- Lastly, you can set the detection radius, this is the furthest distance away from a radar you can be, to allow it to activate.
- There is a props {} section, allowing you to edit and change the prop names used, should you wish to retexture them to another country, or even add more speed limit props. You would require knowledge of exporting textures and editing them in photoshop, however this shouldn’t be too difficult.
Adding speed radars:
In the locations section, you can add more radars. We’ve already included over 60 radar signs.
Simply add an entry to the table such as below:
{
limit = 40.0,
coords = vector3(320.61996459961,-716.52734375,29.31042098999),
heading = 158.21,
}
This requires you to set the coordinates and heading of the detection radar and also the speed limit. You can create unlimited radars. If you decide to add more limit props, these are also compatible here, as long as they are defined in the props {} section.
By default, the only limits that will work are 30.0, 40.0, 50.0 and 60.0
Video Preview
Preview 2
Need help?
If you have any other questions or issues related to this product, you can contact us. If you want any More related to this script, then visit Fivem Scripts
Reviews
There are no reviews yet.