ESX vms_multichar
Step 1
if GetResourceState("rcore_clothing") == "started" then
if v then
v.skin = json.encode(exports["rcore_clothing"]:getSkinByIdentifier(v.identifier))
elseif result and i and result[i] then
result[i].skin = json.encode(exports["rcore_clothing"]:getSkinByIdentifier(result[i].identifier))
else
print("ERROR: Unknown version of multichar")
end
endStep 2
if Characters[index].skin then
exports["rcore_clothing"]:setPlayerSkin(skin)
else
TriggerEvent("skinchanger:loadSkin", skin)
endStep 3
Step 4
Step 5
Last updated