Hi All,
Here is my initial commit to my standalone police uniforms resource. This resource is the cloakrooms stuff removed from esx_policejob to allow servers to use different police scripts but keep the cloakrooms and customization.
I am aiming to make this cleaner and more effective to use on servers as the script at the moment is very unoptimized and lengthy. Ill be updating it in time.
If you want to contribute to this please open an issue on the GitHub and let me know. Please dont reply to this post with LUA snippets as it just gets confusing.
Installation:
Down the resource from this GitHub and drag into resources folder. Add āstart esx_policeuniformsā to server.cfg. Configure to your liking!
In order to create new items in the list you need to create the clothing IDs under the Config.Uniforms in config.lua. Then add the name of the item such as āRemove_Bagā to the elements table variable (line 80) in client.lua and add ādata.current.value == āitem_nameā orā to the top of the list at line 145.
Have fun and stay awesome!
-Catraz