mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
fix typo
This commit is contained in:
@@ -374,7 +374,7 @@ else
|
|||||||
ESX.RegisterServerCallback('esx_identity:registerIdentity', function(source, cb, data)
|
ESX.RegisterServerCallback('esx_identity:registerIdentity', function(source, cb, data)
|
||||||
local xPlayer = ESX.GetPlayerFromId(source)
|
local xPlayer = ESX.GetPlayerFromId(source)
|
||||||
if not checkNameFormat(data.firstname) then
|
if not checkNameFormat(data.firstname) then
|
||||||
TriggerClientEvent('esx:showNotification',source,(TranslateCap('invalid_firstname_format'), "error")
|
TriggerClientEvent('esx:showNotification',source,TranslateCap('invalid_firstname_format'), "error")
|
||||||
return cb(false)
|
return cb(false)
|
||||||
end
|
end
|
||||||
if not checkNameFormat(data.lastname) then
|
if not checkNameFormat(data.lastname) then
|
||||||
|
|||||||
Reference in New Issue
Block a user