Need Help Adding Uniforms to esx_policejob and esx_ambulance

Yeah, I know wow to do it, and over at all, never add Vmenu or something like that because could give lots of problems, said this lets go:

1: If you want to add uniforms, but with the freemode (default skin), you should follow the following tutorial and skip to the point 3: [How-to] Streaming addon clothes and ped props for mp freemode models

  1. If you want to stream addon peds like geo or swat you can do it very easy, rename the ped as how is called in the game. For example swat: <S_M_Y_Swat_01> and police: <s_m_y_cop_01>

  2. Then create a new resource called however you want, for example <Police_wear>, then create a document called <__resoucre.lua> and let it empty

  3. Create a folder called and put all the archives there (they should be .yft or .ytd), in my case are like that:
    Screenshot_3

  4. Then start the resource in the server.cfg as

  5. OPTIONAL: If you want to edit the name or add more than default you can go to the job, in my case esx_policejob/client/main.lua and go to lines 81 to 85 more or less and there you can change the model as this:

The code:
function OpenCloakroomMenu()
local playerPed = PlayerPedId()
local grade = PlayerData.job.grade_name

local elements = {
	{ label = _U('citizen_wear'), value = 'citizen_wear' },
	{ label = _U('bullet_wear'), value = 'bullet_wear' },
	{ label = _U('gilet_wear'), value = 'gilet_wear' }
}

if grade == 'recruit' then
	table.insert(elements, {label = _U('police_wear'), value = 'recruit_wear'})
elseif grade == 'officer' then
	table.insert(elements, {label = _U('police_wear'), value = 'officer_wear'})
elseif grade == 'sergeant' then
	table.insert(elements, {label = _U('police_wear'), value = 'sergeant_wear'})
elseif grade == 'intendent' then
	table.insert(elements, {label = _U('police_wear'), value = 'intendent_wear'})
elseif grade == 'lieutenant' then
	table.insert(elements, {label = _U('police_wear'), value = 'lieutenant_wear'})
elseif grade == 'chef' then
	table.insert(elements, {label = _U('police_wear'), value = 'chef_wear'})
elseif grade == 'boss' then
	table.insert(elements, {label = _U('police_wear'), value = 'boss_wear'})
end

if Config.EnableNonFreemodePeds then
	table.insert(elements, {label = 'Sheriff wear', value = 'freemode_ped', maleModel = 's_m_y_sheriff_01', femaleModel = 's_f_y_sheriff_01'})
	table.insert(elements, {label = 'Police wear', value = 'freemode_ped', maleModel = 's_m_y_cop_01', femaleModel = 's_f_y_cop_01'})
	table.insert(elements, {label = 'Patricio', value = 'freemode_ped', maleModel = 'CS_Clay', femaleModel = 'CS_Clay'})
	table.insert(elements, {label = 'Angry Bird', value = 'freemode_ped', maleModel = 'CS_Brad', femaleModel = 'CS_Brad'})
	table.insert(elements, {label = 'Swat wear', value = 'freemode_ped', maleModel = 's_m_y_swat_01', femaleModel = 's_m_y_swat_01'})
end

PD: The name for example <s_m_y_swat_01> is for man, if do you want to doit for woman you only
have to change the “m” for “f”. Or you can change it from the job.

That’s all, if something you didn’t understood tell me pliss.

6 Likes