![[PAID] Speed cameras | Traffic fines main image](https://i.imgur.com/6npvnUP.jpg)
![[PAID] Speed cameras | Traffic fines thumbnail 1](https://i.imgur.com/6npvnUP.jpg)
![[PAID] Speed cameras | Traffic fines thumbnail 2](https://i.imgur.com/3fJyygI.jpg)
![[PAID] Speed cameras | Traffic fines thumbnail 3](https://i.imgur.com/dxAE20x.jpg)
![[PAID] Speed cameras | Traffic fines thumbnail 4](https://i.imgur.com/9M9pNIT.jpg)
Price
UnknownA script by XanderWP
Price
UnknownESX
, NDCore
, Standalone
This resource is a system for accruing fines to players for exceeding the speed limit.
By default, it is compatible with ESX and NDCore, but you can use it with any framework by slightly modifying the code to suit your needs.
The resource has very flexible settings, which will allow the server owner to configure settings without knowledge of the LUA. The whole system is divided into components that are configured separately.
Watch on YouTube.com
If you want to buy
Click me (Escrow Version)
0.00 ms when not work (not in car etc)
0.01 ms when in car
0.15 ms when render notify
Render Example
Below is a detailed description of all parameters of the configuration file
Config.Blips -- Section with settings for markers on the map
- enabled -- Enables/Disables the display of labels on the map
- sprite -- Icon sprite
- color -- Icon color
- alpha -- Icon transparency
- scale -- Icon size (1 by default)
- hideWhenIgnore -- Hide markers when a player is in an ignored vehicle
- hideWhenNotInVehicle -- Hide markers when the player is not in a vehicle
Config.IgnoreModels -- List of vehicle models that will be ignored by radars
Config.langName -- List of all available languages of the game for the name of the labels on the map as well as for alerts above the radar
Config.Notify -- Notify around the minimap
- enabled -- Enable/Disable notification
- showSeconds -- How many seconds to show the notification
- mode -- Operating mode (in km/h or m/h)
Config.ProtectDelaySeconds -- Imposes a temporary protection on the player after the radar is triggered so that the system does not work too often if you have a lot of radars nearby
Config.CustomFineEvent -- FiveM event to integrate with your game mod
- enabled -- Enable/Disable event sending
- serverEvent -- Send event to server or send inside client locally
- eventName -- Event name
CustomFineEvent handling example
-- LUA
AddEventHandler("radars:trigger", function(fine)
if type(fine) ~= "number" then
print("Error fine argument type")
return
end
if fine <= 0 then
print("Error fine amount")
return
end
-- Your code
end)
/**
* JS
*/
// Local handler
on("radars:trigger", fine => {
if(typeof fine !== "number"){
console.error("Error fine argument type")
return
}
if(fine <= 0){
console.error("Error fine amount")
return
}
// Your code
})
// Server handler
onNet("radars:trigger", fine => {
if(typeof fine !== "number"){
console.error("Error fine argument type")
return
}
if(fine <= 0){
console.error("Error fine amount")
return
}
// Your code
})
Code accessible | Config Only |
Source language | LUA |
Subscription-based | NO |
Lines (approximately) | ~600 |
Support | Yes |
Requirements | No (Custom frameworks Support optional) |
Future Updates | Free |
No approved reviews found for this script yet.