🔧Configuration For ESX

Please make sure and backup your esx_identity before you try this.

Open esx_identity

go to the esx_identity folder and open fxmanifest.lua

  • Find client_scripts and add this, like this

    '@nethush-entryscene/config.lua'
  • open esx_identity >client> client.lua and find this

RegisterNUICallback('register
  • replace this code like this

    RegisterNUICallback('register', function(data, cb)

        if not guiEnabled then
            return
        end

        TriggerEvent('nethush-entryscene:client:openairscence')
        setGuiState(false)
        Wait(Config.videotime + 650)

        ESX.TriggerServerCallback('esx_identity:registerIdentity', function(callback)
            if not callback then
                return
            end

            ESX.ShowNotification(TranslateCap('thank_you_for_registering'))

            if not ESX.GetConfig().Multichar then
                TriggerEvent('esx_skin:playerRegistered')
            end
        end, data)
    end)
  • Enjoy. If you have any problem please contact me on discord server.

Last updated