feat(es_extended): Experimental fxDK support

This commit is contained in:
Mycroft
2022-09-15 22:48:44 +01:00
parent 74f0eecf96
commit 8d60e0ea73
+4
View File
@@ -253,6 +253,10 @@ function ESX.GetPlayerFromIdentifier(identifier)
end
function ESX.GetIdentifier(playerId)
local fxDk = GetConvarInt('sv_fxdkMode', 0)
if fxDk == 1 then
return "ESX-DEBUG-LICENCE"
end
for k, v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'license:') then
local identifier = string.gsub(v, 'license:', '')