Is there any way I can use the eup menu only for police? or something that can be done as long as other people can’t use it
Add this to eup_ui.lua
RegisterCommand('eup', function()
if PlayerData.job ~= nil then
if PlayerData.job.name == 'police' or PlayerData.job.name == 'police1' then
mainMenu:Visible(not mainMenu:Visible())
else
ESX.ShowNotification('You dont have the rights to use this command.')
end
end
end, false)
CreateThread(function()
while true do
Wait(0)
menuPool:ProcessMenus()
end
end)
This will prevent Players without “Police” Job to use the command.
whats the newest server sided version?
Yea however anyone can still use the clothes in clothes store, it will take them a few minutes to get it right though 
And a small fix, if you want to make this work, you should use it like this:
STEP1:
At the top of the eup_ui.lua add this:
ESX = nil
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
while ESX.GetPlayerData().job == nil do
Citizen.Wait(10)
end
PlayerData = ESX.GetPlayerData()
end)
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(xPlayer)
ESX.PlayerData = xPlayer
end)
RegisterNetEvent('esx:setJob')
AddEventHandler('esx:setJob', function(job)
ESX.PlayerData.job = job
end)
STEP2
At the bottom of the file comment out the original code and add the ‘enhanced’ function:
--[[
RegisterCommand('eup', function()
mainMenu:Visible(not mainMenu:Visible())
end, false)
CreateThread(function()
while true do
Wait(0)
menuPool:ProcessMenus()
end
end)
--]]
menuPool:Add(mainMenu)
menuPool:RefreshIndex()
RegisterCommand('eup', function()
if ESX.PlayerData.job ~= nil then
if ESX.PlayerData.job.name == 'police' or ESX.PlayerData.job.name == 'ambulance' or ESX.PlayerData.job.name == 'fire' or ESX.PlayerData.job.name == 'gov' then
mainMenu:Visible(not mainMenu:Visible())
else
ESX.ShowNotification('You are NOT registred as an Emergency Officer in San Andreas.')
end
end
end, false)
CreateThread(function()
while true do
Wait(0)
menuPool:ProcessMenus()
end
end)
Please note that I have added my jobs in there, you can use whatever you want/like.
Once you are done, restart the resource, press F8 and type in:
restart eup-ui
I am having a problem, where I installed hanko’s vest pack, but when i get in game and go to mppedcustomization the vests aren’t there because they add more pieces to the armor category, but they don’t show up, anyone know how to fix this.
It works fine for me without it
I think that now is free for everybody
EUP I mean
Every time you add a new piece of clothing, everything will be pushed away from that category .
So how do you recommend fixing it.
my eup stopped working for some reason
What are difference in server side and client side and how they work?
anyone know how to make it so it only shows male outfits if your character is male and female outfits if your character is female
Hello,
You have EUP VEST&EARPIECE in your udpated pack ?
-> https://www.lcpdfr.com/downloads/gta5mods/character/25692-eup-vest&earpiece/
Can you post the link of just the Fire and Rescue EUP?
Hi, is there any way to install this (https://www.lcpdfr.com/downloads/gta5mods/character/25692-eup-vest&earpi) ,because when i’m trying to install this, it says me that my files are modified. (Client sided)
Element Club Argentum. Cleared server cache and client cash. I am the Patreon account subscriber. Works for everyone else on server but me. Anyone else have this issue?
It did work for me yesterday, but not today.
Sometimes I have to restart FiveM to be able to see the uniforms on my server. Disconnecting and reconnecting doesnt seem to do the trick.
Yes but you will only see them