esx_skin

MLO-uri, interioare, hărți optimizate și asset-uri pentru stream.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

esx_skin

Post by greenie »

The skin managing system used by es_extended Only available on clientside

Get Last Skin
Get the player’s last known skin
TriggerEvent("esx_skin:getLastSkin", function(lastSkin)
print(json.encode(lastSkin))
end)
Open the skin menu
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
ESX.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
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)
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

✅ GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to “Server Resources”