This commit is contained in:
Mycroft
2021-04-28 21:42:12 +01:00
parent bac6cbbb7e
commit 4b2d95059c
8 changed files with 59 additions and 30 deletions
+9
View File
@@ -284,3 +284,12 @@ ESX.DoesJobExist = function(job, grade)
return false
end
ESX.GetPlayerIdentifier = function(playerId)
local identifiers = GetPlayerIdentifiers(playerId)
for _,id in ipairs(identifiers) do
if id:find(Config.IdentifierPrefix) then
return id:gsub(string.format("%s:","licence"),"")
end
end
end