renzu_clothes icon indicating copy to clipboard operation
renzu_clothes copied to clipboard

Errors

Open EnemiMontana opened this issue 1 year ago • 4 comments

image Help me please?

EnemiMontana avatar Aug 05 '23 14:08 EnemiMontana

@renzuzu

EnemiMontana avatar Aug 05 '23 15:08 EnemiMontana

I have the same problem, have you found a solution?

killy60 avatar Nov 06 '23 20:11 killy60

Something that worked for me is to change config.old = false to true in the config.lua

beastinrapper avatar Dec 21 '23 00:12 beastinrapper

Actually i found the problem!

Im using skinchanger and oxmysql

in config.lua

lines 1173-1179

if Config.skin == 'skinchanger' then
    local skin = promise:new()
    TriggerEvent('skinchanger:getSkin', function(skin)
        skin:resolve()
    end)
    return Citizen.Await(skin)
end

should be changed to this

local skinPromise = promise:new()
TriggerEvent('skinchanger:getSkin', function(skinData)
    skinPromise:resolve(skinData)
end)

return Citizen.Await(skinPromise)

Should fix the issue

beastinrapper avatar Dec 21 '23 00:12 beastinrapper