I think you came into my stream yesterday and helped me with the new version of esx_kashacter
I think i found a bug in your code you say to change OnPlayerJoined but you can use the logic from esx_identity
for k,v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'steam:') then
print("esx_identity:playerConnecting STEAM key " .. k .. " Value: " .. v)
identifier = v
break
end
end
else
for k,v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'license:') then
print("esx_identity:playerConnecting LICENSE key " .. k .. " Value: " .. v)
identifier = string.sub(v, 9)
break
end
end
end
This will let you compare the identifier differently depending on if we're using steam or rockstarID.
Just trying to help, when I get it fixed in my fork i'll send over a PR.
I think you came into my stream yesterday and helped me with the new version of esx_kashacter I think i found a bug in your code you say to change OnPlayerJoined but you can use the logic from esx_identity
This will let you compare the identifier differently depending on if we're using steam or rockstarID. Just trying to help, when I get it fixed in my fork i'll send over a PR.