# esx\_identity

{% hint style="danger" %}
Take advantage of this **if you only use esx\_identity** and **do not use any multicharacter system!**
{% endhint %}

***

1. Open **esx\_identity/client/main.lua**
2. Search for `RegisterNUICallback('register'`
3. Replace the nui callback with this one below

```lua
RegisterNUICallback('register', function(data, cb)
    if not guiEnabled then
        return
    end
    ESX.TriggerServerCallback('esx_identity:registerIdentity', function(callback)
        if not callback then
            return
        end
        ESX.ShowNotification(TranslateCap('thank_you_for_registering'))
        setGuiState(false)
        if not ESX.GetConfig().Multichar then
            TriggerEvent('vms_charcreator:openCreator', data.sex)
        end
    end, data)
end)
```
