mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
Updates
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user