exports['illenium-appearance']:setPedAppearance(zr_current_char, zr_skin)
elseif (zr_config.clothing=='rcore_clothing') then
exports.rcore_clothing:setPedSkin(zr_current_char, zr_skin)
elseif (zr_config.clothing=='rcore_clothing') then
local skin = exports.rcore_clothing:getSkinByIdentifier(cid)
if not skin then
cb(nil)
else
cb(skin.ped_model, json.encode(skin.skin))
end
elseif (zr_config.clothing=='illenium-appearance') then
if GetResourceState('rcore_clothing') == "started" then
local skin = exports["rcore_clothing"]:getSkinByIdentifier(zr_data.identifier)
if skin and skin.ped_model then
zr_multichar_loadModel(skin.ped_model)
SetPlayerModel(PlayerId(), skin.ped_model)
SetModelAsNoLongerNeeded(skin.ped_model)
exports.rcore_clothing:setPedSkin(PlayerPedId(), skin.skin)
end
elseif zr_data.skin then