mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
update little thing
This commit is contained in:
@@ -37,13 +37,7 @@ local function GetIdentifier(source)
|
||||
end
|
||||
|
||||
local identifier = GetPlayerIdentifierByType(source, PRIMARY_IDENTIFIER)
|
||||
|
||||
if not identifier then
|
||||
return
|
||||
end
|
||||
|
||||
identifier = identifier:gsub(PRIMARY_IDENTIFIER .. ':', '')
|
||||
return identifier
|
||||
return identifier and identifier:gsub(PRIMARY_IDENTIFIER .. ':', '')
|
||||
end
|
||||
|
||||
if next(ESX.Players) then
|
||||
|
||||
Reference in New Issue
Block a user