esx_multicharacter (old)
Step 1 - Server: inject skin data
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 - Client: load skin in SetupCharacter
Step 3 - Client: load skin on character select
Step 4 - Server: register database tables
Last updated