esx_identity
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)Last updated