Merge pull request #1196 from Arctos2win/patch-9

update little thing
This commit is contained in:
Gellipapa
2023-09-02 15:52:55 +02:00
committed by GitHub
+1 -7
View File
@@ -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