esx_skin
Posted: Thu Feb 26, 2026 6:34 pm
The skin managing system used by es_extended Only available on clientside
Get Last Skin
Get the player’s last known skin
Open the skin menu Arguments
submitCb: function
Callback that should be triggered when saving the skin.
cancelCb?: function
Callback that should be triggered when abborting.
Get the current skin
Get the current skin Arguments
cb: function
Callback that should be triggered when the skin is received.
Example
Open the skin menu.
Arguments
submitCb?: function
Callback that should be triggered when saving the skin.
cancelCb?: function
Callback that should be triggered when abborting.
Example
Get Last Skin
Get the player’s last known skin
Open the skin menuTriggerEvent("esx_skin:getLastSkin", function(lastSkin)
print(json.encode(lastSkin))
end)
Open the skin menu Arguments
submitCb: function
Callback that should be triggered when saving the skin.
cancelCb?: function
Callback that should be triggered when abborting.
Get the current skin
Get the current skin Arguments
cb: function
Callback that should be triggered when the skin is received.
Example
Open the skin menuESX.TriggerServerCallback("esx_skin:getPlayerSkin", function(skin)
if skin == nil then
TriggerEvent("skinchanger:loadSkin", { sex = 0 }, OpenSaveableMenu)
Wait(100)
else
TriggerEvent("skinchanger:loadSkin", skin)
Wait(100)
end
end)
Open the skin menu.
Arguments
submitCb?: function
Callback that should be triggered when saving the skin.
cancelCb?: function
Callback that should be triggered when abborting.
Example
TriggerEvent("esx_skin:openSaveableMenu",
function()
finished = true
end, function()
finished = true
end)