Name of resource : esx_skin LIGHTLY modified
Version : 1.1
Github : https://github.com/ESX-Org/esx_skin
What does it do : Allows to prohibit to a new arrival the options of helmet, mask, bulletproof jacket, hat which are obtainable only via esx_accessories
Replace function ‘esx_skin:openSaveableMenu’ at line 333 of ‘esx_skin/client/main.lua’ by this :
RegisterNetEvent('esx_skin:openSaveableMenu')
AddEventHandler('esx_skin:openSaveableMenu', function(submitCb, cancelCb)
--OpenSaveableMenu(submitCb, cancelCb, nil)
local restrict = {}
restrict = {
'sex',
'face',
'skin',
'age_1',
'age_2',
'beard_1',
'beard_2',
'beard_3',
'beard_4',
'hair_1',
'hair_2',
'hair_color_1',
'hair_color_2',
'eyebrows_1',
'eyebrows_2',
'eyebrows_3',
'eyebrows_4',
'makeup_1',
'makeup_2',
'makeup_3',
'makeup_4',
'lipstick_1',
'lipstick_2',
'lipstick_3',
'lipstick_4',
'tshirt_1',
'tshirt_2',
'torso_1',
'torso_2',
'decals_1',
'decals_2',
'arms',
'pants_1',
'pants_2',
'shoes_1',
'shoes_2',
'chain_1',
'chain_2',
}
OpenSaveableMenu(submitCb, cancelCb, restrict)
end)
You’re welcome