Edit cloakroom esx_policejob

I would like to edit the wardrobe of all the police, but I have a problem that does not work for me if I change it

Which file did u try modifying ?

1 Like

Edit the config.lua file.
There is the cloakroom located and you can edit it there.

Police Job config:

Config.Uniforms = {
	recruit_wear = {
		male = {
			['tshirt_1'] = 59,  ['tshirt_2'] = 1,
			['torso_1'] = 55,   ['torso_2'] = 0,
			['decals_1'] = 0,   ['decals_2'] = 0,
			['arms'] = 41,
			['pants_1'] = 25,   ['pants_2'] = 0,
			['shoes_1'] = 25,   ['shoes_2'] = 0,
			['helmet_1'] = 46,  ['helmet_2'] = 0,
			['chain_1'] = 0,    ['chain_2'] = 0,
			['ears_1'] = 2,     ['ears_2'] = 0
		},
		female = {
			['tshirt_1'] = 36,  ['tshirt_2'] = 1,
			['torso_1'] = 48,   ['torso_2'] = 0,
			['decals_1'] = 0,   ['decals_2'] = 0,
			['arms'] = 44,
			['pants_1'] = 34,   ['pants_2'] = 0,
			['shoes_1'] = 27,   ['shoes_2'] = 0,
			['helmet_1'] = 45,  ['helmet_2'] = 0,
			['chain_1'] = 0,    ['chain_2'] = 0,
			['ears_1'] = 2,     ['ears_2'] = 0
		}
	},

Make sure the config rank level fits your database. For example if you have police - cadet in your database, the change the config name to cadet_wear

Also make sure you set up one of those for each rank you have. (should be every one set up already by default)

As I know, this is not needed. I never renamed the config names and it does still work (might be that it works now like said in the newer version), also I am pretty sure that it will not work anymore If you rename it, cause the script might not find the skin, because the name changed.

Most regards,
Burger
:hamburger: :mascot:

The whatever_wear is directed to the database ranks only. Meaning as long as u set it up correctly you can rename ranks to whatever you like and it’d work just fine.

but I would like to put peds

esx_policejob/client/main.lua

Revert all changes done to that file and only edit the config. Please read instructions before going ahead and editing main.lua files.

but I want to put peds

You need to set Config.usecustompeds to true and tou can add peds under config.custompeds in the config

how can i add bag and hair please?

All you have to do is write in bag and hair Examples:

			['bags_1'] = 0,    ['bags_2'] = 0,
			['hair_1'] = 2,     ['hair_2'] = 0
Config.Uniforms = {
	recruit_wear = {
		male = {
			['tshirt_1'] = 59,  ['tshirt_2'] = 1,
			['torso_1'] = 55,   ['torso_2'] = 0,
			['decals_1'] = 0,   ['decals_2'] = 0,
			['arms'] = 41,
			['pants_1'] = 25,   ['pants_2'] = 0,
			['shoes_1'] = 25,   ['shoes_2'] = 0,
			['helmet_1'] = 46,  ['helmet_2'] = 0,
			['chain_1'] = 0,    ['chain_2'] = 0,
			['ears_1'] = 2,     ['ears_2'] = 0,
			['bags_1'] = 0,    ['bags_2'] = 0,
			['hair_1'] = 2,     ['hair_2'] = 0
		},
		female = {
			['tshirt_1'] = 36,  ['tshirt_2'] = 1,
			['torso_1'] = 48,   ['torso_2'] = 0,
			['decals_1'] = 0,   ['decals_2'] = 0,
			['arms'] = 44,
			['pants_1'] = 34,   ['pants_2'] = 0,
			['shoes_1'] = 27,   ['shoes_2'] = 0,
			['helmet_1'] = 45,  ['helmet_2'] = 0,
			['chain_1'] = 0,    ['chain_2'] = 0,
			['ears_1'] = 2,     ['ears_2'] = 0,
			['bags_1'] = 0,    ['bags_2'] = 0,
			['hair_1'] = 0,     ['hair_2'] = 0
		}
	},
1 Like