mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 02:38:53 +00:00
update to requested changes
This commit is contained in:
@@ -36,8 +36,14 @@ local function GetIdentifier(source)
|
||||
return "ESX-DEBUG-LICENCE"
|
||||
end
|
||||
|
||||
local identifier = string.gsub(GetPlayerIdentifierByType(source, PRIMARY_IDENTIFIER), PRIMARY_IDENTIFIER .. ':', '')
|
||||
return identifier
|
||||
local identifier = GetPlayerIdentifierByType(source, PRIMARY_IDENTIFIER)
|
||||
|
||||
if not identifier then
|
||||
return
|
||||
end
|
||||
|
||||
identifier = identifier:gsub(PRIMARY_IDENTIFIER .. ':', '')
|
||||
return identifier
|
||||
end
|
||||
|
||||
if next(ESX.Players) then
|
||||
|
||||
Reference in New Issue
Block a user