Setting up identifier type (optional)
Config.Characters.IdentifierType = "license"How to find my identifier type?
ESX
function ESX.GetIdentifier(playerId)
local fxDk = GetConvarInt("sv_fxdkMode", 0)
if fxDk == 1 then
return "ESX-DEBUG-LICENCE"
end
playerId = tostring(playerId)
local identifier = GetPlayerIdentifierByType(playerId, "license")
return identifier and identifier:gsub("license:", "")
end
QBCore
Last updated