update little thing

This commit is contained in:
Arctos2win
2023-09-02 15:48:25 +02:00
committed by GitHub
parent 7c49c8afac
commit 87e94c8193
+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