Yeah i have tested it and it does not work for me im just thinking that it does not pick up any players or ai for now
I can confirm all works just fine…picks up AI and players… looks great menu is awesome … my only question is can this be done for admin only?
#edit Nevermind I just realized it only works for pd cars lol
Amazing Job!! Works perfect on AI.
Have not tested with another player yet -
Stupid question but mine is in French, how do I make it in English?
Open config and at the top change it to en
Does someone have a re-spawn timer???
seems to be working pretty well so far. I haven’t tested it with other players yet though. Two things I would like to know though; it looks like the speed is in KMH, if so, is there a way to change it to MPH? I skimmed through the code but didn’t see anything that popped out to me as being the setting. Also, is there any way to increase the maximum distance you can move the cylinder or increase the size? Maybe make that a setting in the GUI? Great script though man! just some suggestions/questions.
edit… I also noticed the cylinder seems really high at some times, maybe make the height above ground adjustable too? thanks
I have to agree… and the movement of the blip is off as well
Fix :
The radar is now working with players !
Yes, I’m going to see to do a dashcam
I will put a setting for the key in the next update, thanks for the suggestion ! I have a question for those for whom the script does not work, are you using modded police car/ have you clean the server cache ? And thanks for the report !
You can change the langage in “config.lua” file. You just have to change
lang = "fr"
to :
lang = "en"
Thanks for the suggestions, I will add MPH in the next update ! For the maximum distance of focus, you can change that into the “config.lua” file, you just have to change the “maxDistance”. I will see to make the height ajustable ^^
@n0thus I am using police3 when trying this does it only work on selected cars or all police cars?
Would there also be a way to fix the marker so it doesn’t move with the vehicle… and maybe have it shut itself off after you start driving a few meters?
@ColtBennett Working on it!
I have it working! Very nice, also, i use modded cars, also is there a way to convert it from KPH to MPH
A couple things from making it a really cool mod.
- For some reason it just will not pick up players. We messed around with it for quite awhile and it wouldn’t.
- It would be great to get a “lock” feature, say if a car sped past you, you could lock the speed of the last vehicle it picked up.
- A new control to launch the radar. It might just be me, but having an ALT and a keypress or CTRL and a key would be great. Sometimes other mods start conflicting and it’s hard to change or sometimes you can’t change the other scripts.
@n0thus one more thing, haha. I saw something in the code where it says allpolicevehicles but how does it decide what is and isn’t a police vehicle? Most police vehicle dependent mods have an editable list in the config where you can add more vehicles in case you use modded or add on police vehicles like I do.
Love it so far, I did need to convert this from kph To mph ,and had to change blue ring distance to 22 instead of 5 to work with our Radar spots we use on server.Thank you for this script, so many police servers needed this for a long time.
Thank’s a lot for your script , very nice job!!
Just if it’s possible to up the speed when you move the blue ring?
Big thank’s
@Mustang1 Hey how did you convert the kph to mph? I couldn’t figure it out… thanks
In the client.lua file on line 69 change the multiplier to your new number on our server we use:
local kmh = GetEntitySpeed(veh) * 2.236936
Then just do the same thing on line 119.
So to speed up the movement speed of the blue ring you are going to have to up the amount of offset that each key press has. So in the client.lua file around line 194 are a bunch of if statements. What you want to change is the amount that is added to ym, yp, xm, xp.
To make it theoretically 5 times faster simply change those 0.01 to 0.05. That way .05 is added every key press not .01.
Hope this helps I really like this script a ton thanks @n0thus