This is a huge update for EUP-users while non-EUP users won’t notice too much of a change.
Sadly my microphone broke and the new one didn’t arrive yet so I can’t create a proper showcase of the system. Will do that asap.
Notes for server owners
In order to use the new wardrobe you’ll need to edit quite a lot inside the __resource.lua. Namely you’ll need to comment out every file between lines 209 and 312 that has the word Vanilla in it, and uncomment every file between lines 209 and 312 that has the word EUP in it. Same goes for the armory files between lines 184 and 206.
Also please do not worry about the command /rank that is available to every player. Yes, it is possible for everyone to set their rank to Chief of Police however the only “advantage” they get is a better rank insignia on their uniform. Nothing else changes. This is also true for ESX and vRP servers, /rank will not change the department rank set with ESX or vRP.
So that command is not a problem for you at all. You can even use it to your advantage to kick those players who try to take advantage of it. They are probably not the kind of players you want on your server anyways
I’ll be creating tutorial videos as soon as my new microphone arrives. This will include:
How to set up PD5M in the standard version and how to activate markers etc for custom interiors
How to set up PD5M to get EUP Serve & Rescue working
How to edit stations, armory, garage and wardrobe-files (and adding documentation for the config-files which doesn’t exist currently)
Fixed a bug where after dying every marker would disappear.
Added simple cloth saving. After death the uniform you wore before you died gets restored.
The first bugfix is actually a larger problem that might affect quite a lot of code. This means that I’ll urgently check the code for other points where a bug related to dying will occur. Expect a fix for yet unknown bugs soon
Hey,
If the question for different server types is unrelated to the second two questions, then I have no idea how to respond ^^
As for the wardrobe-questions:
That is entirely correct. You need patreon and need to install the linked EUP, then uncomment a lot of files.
For non-EUP, that’s the vanilla option and should work completely without any change.
I want to note two things:
a) I’m currently rewriting __resource.lua into fxmanifest.lua. Turns out that you can use variables inside the manifest. That means that the whole commenting / uncommenting-part will be void in the next update which I want to release asap. There will be config variables inside the manifest that you can change to activate PD5M-configuration for certain other resources. That will make installing the EUP-version of PD5M much easier.
b) I’ll be creating videos on installation and configuration of PD5M soon. That way you’ll not have to figure out too much yourself but can rely on the videos. This together with a) should make installation of PD5M nearly too easy
pairing with vRP is easy enough as there is a small integration built-in ^^
Making money is way harder, to the point that I don’t think that currently there is a proper way to implement a money-system without making it abusable.
This would change with callouts which I intend to create next. As I’m moving currently that’s not No. 1 priority for me though. Might be in a few weeks…?
Tried this out over the weekend. Good stuff! Was wondering, is it possible to toggle between on and off duty in-game? I’ve added this my private ‘variety’ server for just a small group of us and it would be awesome if there was a command to turn off the interaction menus while we’re doing races and whatnot, but then kick it back on when we’re ready to play as cops. The only thing I could find was to edit the ConvarEnableMainScript variable in fxmanifest and restart the server.
there is no OnDuty-system yet. Planning to do callouts first, if these work a Duty-system will surely come.
Slightly faster version on your current approach:
Edit the variable you mentioned in fxmanifest.
in server console type refresh, then restart pd5m
That way you’ll keep the PD5M-markers active and don’t have the interaction menus running in the background while racing around. If you have admin permissions on your server the commands will also work on the client-side (I could be wrong on that one though, just seen it work).
If you don’t need the markers, then there is an even faster method:
In server console type stop pd5m
If you want to play as a cop again, start the resource again (also sorry if I mention something that is obvious. Tbh it isn’t for a few people, so leaving this here anways…).
hey silverman. I piggy backed from snippets from a VRP script and managed to create a static pay amount for arrests. tested it for a few days and its stable. the peds don’t really run in vehicles do they? I was just wondering if there is an ETA on the callout system, I understand you’re moving and just wanted to know if i should try to rig up my own system or if i should wait. nothing I write will be as elaborate as the original creator.
Hey,
It’ll definitely not happen before 24.06. cause I’ll be without internet pretty much from now on ^^
Hope to be posting an update then because I’ll be able to code further without internet.
In the meantime you’d be able to install PD5M and activate only the markers and use a different script for callouts? If you really want to rig a system contact me, I’d be very interested in what you are doing
Sorry for not responding, been terribly busy and didn’t work on PD5M.
Admins and jobs is currently nothing to do with PD5M, so I can’t help you with that one, sorry.
Look into vMenu for permissions / admins; ESX for different RP-jobs; if you mean the jobs inside PD5M, there’s no “job” inside PD5M however everyone can be law enforcement, medical service, tow truck driver, fire dep.
So, tomorrow my vacation starts, so I definitely plan to continue work on PD5M.
We using this great script only we have a bugg sinds we use this…
If we have put on the script, people that gets a revive or joining the server are not spawn in own closhes.
Everyone spawn in a white tshirt wit block shoes… If u use a item on your character the own closhes are back…
So howto fix the problems with the closhes??? Howto fix that respawn in the right closhes?