Which lights? Sorry, I don’t understand the problem, can you elaborate? 
PD5M v0.2.3 Mostly OneSync-ready
This release is not useable with normal FiveM however it should be much more stable with OneSync. Note that coroner and towtruck might be very unreliable.
Fixed peds and vehicles not having synced wanted status
Fixed peds randomly spawning arrested (that was a fun one)
Fixed Sandy Shores Bamboozled Station having the wrong handle name
Fixed some custom police vehicles spawning with neon light
Fixed “Unknown command” error popping up in chat for ESX
Added ESX ambulance and fire department to whitelisted players (they can
use the different menus)
Fixed some vehicles not being able to transport arrested peds even
though it theoretically should be possible
Removed “Firstname Surname” from the ped search for easier entry of
names
Removed script that reset the player’s clothes on death
He’s dead, Jim.
But not quite yet, even though this may very well be the last patchnotes I’m writing. Sadly I don’t have time to continue developing so won’t try and get your hopes up of a mission system coming anytime soon.
That being said if you use PD5M feel free to shoot me dms if you have any questions, need help with PD5M or have discovered a bug (Big thanks to JamieT for his contributions here!).
what can i do this has stoped all spawning animals in game from walking and running from players in city
how you put a diffrent button then [E] ? have check but can’t find it…
Quoting from further above which should give you everything you need. Try changing it, if you have issues with it pls shoot me a dm.
https://docs.fivem.net/docs/game-references/controls/
You’ll need this site under the second Controls headline. You’ll have numbers from 0 to 357 listed.
Choose the interaction key you want and note the appropriate number (always assuming standard control scheme; you are afaik not able to select any key but only those that are used atleast once in the script).
As an example I’ll use 20 which would assign Z on a standard qwerty-keyboard. You’ll also need the name which for 20 would be INPUT_MULTIPLAYER_INFO .
In resource pd5m open the file Interaction/interaction_cl.luaand go to line 11. This is a pretty long line which should start and end something like this:
if IsControlJustPressed(0,51) and ... then
The important bit is the IsControlJustPressed(0,51) as “51” is the control index that points to E in qwerty-layout and standard control scheme.
Replace the 51 with your chosen number (in my example 20). The line should look like this:
if IsControlJustPressed(0, 20) and ... then
Please do NOT copy and paste the above line else you will get an error message. ONLY replace the number inside the brackets mentioned.
In order to fully replace E with another button you’ll have to replace quite a few lines.
Interaction/interaction_cl.lua:
In addition to the above explained line 11 you will need to replace:
line 3479, line 3482, line 3487:
In these lines replace ~INPUT_CONTEXT~ with your input name. Keep the tildes. In the example the line will look like this:
StartHelpNotify('Press ~INPUT_MULTIPLAYER_INFO~ to imprison ...', 500)
line 3497, line 3522:
In these lines replace the number inside IsControlJustPressed(0 , 51) with your chosen number. In the example it should look like this:
IsControlJustPressed(0, 21)
HUD/markers_cl.lua:
lines: 96, 99, 104, 899, 902, 907, 960, 963, 968, 1264, 1267, 1272, 1518, 1521, 1526, 1560, 1563, 1568
Replace ~INPUT_CONTEXT~ in the same way as above.
lines: 878, 917, 1152, 1493, 1536, 1578
Replace the number inside IsControlJustPressed(0,51) in the same way as above.
Also: In line 1588 replace ~g~E~s~ by the button of your choice. In my example this line would look like ~g~Z~s~ .
EDIT: If you do this you should be done completely. I might have missed one or more interactions. If that is the case please mention the interactions and I’ll provide the lines.
I know you’re busy but was just wondering if there is a way I could reference a ped’s wanted status for the jailing action? Basically I want to modify it so that you can only jail wanted individuals.
Can you elaborate more on what you mean with ped’s wanted status and what you want to do with it?
Because if I imagine only being able to jail peds which are chased by the NPC-police it’s almost certainly a bad idea since every single one of your targets will be mercilessly gunned down… 
Nevermind I figured it out. I do have another question. The ped responses are hard to read for my players, how would I go about changing the color or better yet adding a black outline/background to the words?
Open file Common/common_cl_fct.lua and go to line 53, the start of the function PrintTextOverPedHead()
You want to add the native DrawRect() in a sensible way here. Compare the function PrintTextAtBottom() starting line 7 in the same file for how I did it there. You’ll need to make sure that the Rectangle is drawn at the appropriate position with teh appropriate number of lines.
Getting this error i have not changed nothing with this lua
@pd5m/HUD/markers_cl/lua:51 bad arguement #1 to ‘for iterator’ (table expected, got nil)
Shot you a dm, can’t say anything about this issue without a closer look.
This script seems to disable or at least set police peds to ignore the player. How do I remove that feature? In Startup file I removed the SetPoliceIgnorePlayer line but that didn’t help.
Never mind figured it out. Great script by the way.
Surprise Patch notes 
v0.2.4 EUP 9.3
This release updates the wardrobe to EUP-Version 9.3 and includes the option to save your outfits. It also includes Armories for Tow Trucks and Fire Departments with Fire Extinguishers and Jerry Cans.
- Armories and Wardrobe have been updated to EUP 9.3
- Json-Database to save outfits for each department
- BCSO has changed to LSSD
- Added Support for SAHP-Station LaMesa by Matus and LSPD-Station Del Perro Pier by Pablito
- Added TP-markers at every department, removed /tp-command
- Added the rank-command into the wardrobe, removed /rank-command
- Added Vehicle-Repair and -Impound/Deletion Markers. They are located at every tow truck station and a few police stations
- Ped Props now get removed when you open the uniform tab in the wardrobe
Did you change something inside the Config/Stations/ files? stations_cl.lua shouldn’t be touched, you also need the config files for all tow stations for them to work correctly.
If you want to disable towtruck equipment and wardrobe-points you’d need to delete them out of the config file itself. To disable all equipment and wardrobe-points, deactivate them using Config/config_cl.lua.
I downloaded it again and made a new test server in my computer with only vMenu and your PD5M script. Still same error. Server is up to date.
Hey there! Is this QB compatible? ![]()
There’s no integration for PD5M into QB but in general it should run independent of it. Only problem will be permissions as everyone is able to use the functions PD5M provides.
There currently is a pull request to add job checks for PD5M which should be accepted shortly hopefully.
