tgiann-clothing

You need to edit function to execute event when character is created.

1

Go to tgiann-clothing

Find file client/editable.lua

2

Find Function

Find function firstCharacterCreated

Before:

function firstCharacterCreated()
    if config.framework == "esx" then
        Wait(2000)
        RenderScriptCams(false, false, 1, true, true)
        DoScreenFadeIn(0)
    end
    SetFocusEntity(PlayerPedId())
    TriggerEvent("tgiann-main:afk-control", true)
    TriggerEvent('tgiann-main:checkProfileSettings')
end

After:

function firstCharacterCreated()
    if config.framework == "esx" then
        Wait(2000)
        RenderScriptCams(false, false, 1, true, true)
        DoScreenFadeIn(0)
    end
    SetFocusEntity(PlayerPedId())
    TriggerEvent("tgiann-main:afk-control", true)
    TriggerEvent('tgiann-main:checkProfileSettings')

    TriggerEvent('op-multicharacter:charCreationComplete')
end

Last updated