if ( not IsDisabledControlPressed( 1, 51 ) and IsDisabledControlJustPressed( 1, 28 ) ) then
This will make it where you to press both…
if ( not IsDisabledControlPressed( 1, 51 ) and IsDisabledControlJustPressed( 1, 28 ) ) then
This will make it where you to press both…
Are there certain controls that you can use only in the car? I used that code and changed it to 36 & 38 per the controls document and its not working.
My code is:
if ( not IsDisabledControlPressed( 1, 36 ) and IsDisabledControlJustPressed( 1, 38 ) ) and IsPedInAnyPoliceVehicle(GetPlayerPed(-1)) then
EDIT:
how do you make it so, the ALPR saves the data if you exit or turn off your vehicle??
Is there a way I can change the Button from Numpad 5 to Ctrl M or something please?
hi, i would like to know how can i edit mph to kmh
How would i make the box appear in the middle left of my screen
There’s an editor somewhere in the releases, get the position from that and edit my script to the position you wish to have it
how to know the position of the display ?? I would also like to change it to put it in the middle
Cann we change from Mph for Km/h?
How can I make command with this script, for set the velocity I want on my radar? thank you
Mind explaining a bit more?
I know its probably a lot to ask, but would it be possible to add some more interactivity to it. Such as a lock button to keep the license plate up?
Can you link me that skin? I really like it!
whats that car pack
what he said
is there a way to disable it for the polmav?
Change 2.236936 by 3.609…
Right after
if IsControlJustPressed(1, 127) and IsPedInAnyPoliceVehicle(GetPlayerPed(-1)) then
if radar.freeze then radar.freeze = false else radar.freeze = true end
end
add this :
Method 1 for automatic decrease, increase with Numpad + and -
(Pretty fast)
while IsDisabledControlPressed(1, 96) and radar.shown do
Citizen.Wait(0)
radar.maxSpeed = radar.maxSpeed + 1
DrawRect(0.508, 0.94, 0.196, 0.116, 0, 0, 0, 150)
DrawAdvancedText(0.591, 0.903, 0.005, 0.0028, 0.4, "Front Radar", 0, 191, 255, 255, 6, 0)
DrawAdvancedText(0.591, 0.953, 0.005, 0.0028, 0.4, "Rear Radar", 0, 191, 255, 255, 6, 0)
DrawAdvancedText(0.6, 0.928, 0.005, 0.0028, 0.4, radar.info, 255, 255, 255, 255, 6, 0)
DrawAdvancedText(0.6, 0.979, 0.005, 0.0028, 0.4, radar.info2, 255, 255, 255, 255, 6, 0)
end
while IsDisabledControlPressed(1, 97) and radar.maxSpeed > 1 and radar.shown do
Citizen.Wait(0)
radar.maxSpeed = radar.maxSpeed - 1
DrawRect(0.508, 0.94, 0.196, 0.116, 0, 0, 0, 150)
DrawAdvancedText(0.591, 0.903, 0.005, 0.0028, 0.4, "Front Radar", 0, 191, 255, 255, 6, 0)
DrawAdvancedText(0.591, 0.953, 0.005, 0.0028, 0.4, "Rear Radar", 0, 191, 255, 255, 6, 0)
DrawAdvancedText(0.6, 0.928, 0.005, 0.0028, 0.4, radar.info, 255, 255, 255, 255, 6, 0)
DrawAdvancedText(0.6, 0.979, 0.005, 0.0028, 0.4, radar.info2, 255, 255, 255, 255, 6, 0)
end
OR
Method 2 :
Gradually 5 by 5
if IsDisabledControlJustPressed(1, 96) and radar.shown then
radar.maxSpeed = radar.maxSpeed + 5
end
if IsDisabledControlJustPressed(1, 97) and radar.maxSpeed > 5 and radar.shown then
radar.maxSpeed = radar.maxSpeed - 5
end
OR
With ESX, Method 3:
Manually set speed limit with Numpad ENTER :
if IsControlJustPressed(1, 201) and radar.shown then
ESX.UI.Menu.Open(
'dialog', GetCurrentResourceName(), 'set_speed_limit',
{
title = "Enter the new speed limit :",
},
function(data, menu)
menu.close()
if data.value ~= nil then
radar.maxSpeed = data.value
else
radar.maxSpeed = 50
end
end,
function(data, menu)
radar.maxSpeed = 50
menu.close()
end)
end
Enjoy
This doesn’t work half the time