can you show me the line please? i’m searching for it since 1 hour xD
Well you can download my fork version of the script.
What’s on my version is
Moved all settings to config.lua
Moved blip coord and speed camera location to config.lua
Using model name for authorized vehicle so this allows custom vehicle to be added in the config.
added all emergency vehicle to the list.
Change fine price directly in config.lua
Easier to edit code now. All in one place.
Download
who can help us out on dis think
type or pif hasBeenCaught == false then
if( class == 18) then
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICE" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICE2" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICE3" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICE4" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICEB" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICET" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "FIRETRUK" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "AMBULAN" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "politie touran" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "politie vito" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Politie passat" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "ambu" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "ambu2" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "ambu 2" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "FIRETRUK" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "touran" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "speed responder" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "unmarked bmw" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICE3" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICE4" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICEB" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "POLICET" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "FIRETRUK" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "AMBULAN" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "ambulance" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Ambulance" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "ambulance3" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Ambulance Mobile hospatility" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "AmbuEClass" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "sheriff" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Quick response voertuig" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Touran" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Police Touran" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "forensische" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "forensische onderzoek bus" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "police2" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Police Vito" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "c250" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Police C250" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "polmo" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Politie motor" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "polounmarked" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "polo Unmarked" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "politier6" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "Audi RS6 Unmarked" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "politiebmw" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "BMW Unmarked" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "mercunmarked" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "merc Unmarked" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "fbi2" then -- BLACKLISTED VEHICLE
elseif GetDisplayNameFromVehicleModel(GetEntityModel(veh)) == "FBI2" then -- BLACKLISTED VEHICLEaste code here
Hello everyone, what must be changed so that the fine is paid directly without going through the bills?
In passing very good work!
There are settings for this, read the instructions next time…
Link: https://github.com/P4NDAzzGaming/esx_speedcamera/blob/master/client/main.lua
Change row 3 from true to false.
It can be cool if it also sends the license plate and the name and surname of the car
Great script, tweaked it to my liking. If it is not too much to ask I think a cool feature to this script would be if you only got fined if it was your personal vehicle
It could get adapted into that, are you using the default ESX_VEHICLESHOP?
Best regards
– P4NDA
Yeah
great script, i tried however to add other speed camera points with the usual co-ordinates but it didnt work, does anyone have a list of new locations and the correct co-ordinates… i used the co-ordinates via my vmenu
Can you help me? Blips are not appearing on the map
Share us your coordinates and we’ll try to resolve it.
Do you have all the requirements installed?
ESX_PHONE / ESX_PHONE3 Just do not call them, because I use gcphone
Awesome script, just a slight issue, tried to sort it myself but can’t seem to find it.
After paying the fine i get a notification saying it’s been paid but also that i’ve recieved a payment of said fine amount. Tried as police job and as a normal job and the same result. Something I’m missing?
Screenshot of it here:
That issue is inside of esx_billing, modify the “lang” file and it should all work.
Thx a lot! Works perfect with my custom props
Do you have a chance to add a plate? I want to go to the police plate notification when caught?
That’s cool, thank you!
Same here… no sound for me … and i made it work for gcphone so it ‘‘alert police’’, but it shows phone number of the ‘‘billed’’ person and don’t show coords to police… any ideas?