Open captainbritian opened 4 years ago
any luck with this
I finally fixed it. This is just what you have to do:
es_extended/server/main.lua
): for k,v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'license:') then
identifier = string.sub(v, 9)
break
end
end
for k,v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'license:') then
identifier = v
break
end
end
identifier = string.sub(v, 9)
es_kashacters/server/main.lua
) and find this: function GetPlayerCharacters(source)local Chars = MySQLAsyncExecute("SELECT * FROM `users` WHERE identifier LIKE '%"..GetIdentifierWithoutLicense(GetRockstarID(source)).."%'")
local Chars = MySQLAsyncExecute("SELECT * FROM `users` WHERE identifier LIKE '%"..(GetRockstarID(source)).."%'")
function GetIdentifierWithoutLicense(Identifier)
return string.gsub(Identifier, "license", "")
end
function GetIdentifierWithoutLicense(Identifier)
return ':' .. Identifier
end
There you go. I hope it works for you.
i installed the mod and followed the steps i belive that it has to do with the permission system in es_extended not likeing haveing multi toons
commands like /car are just saying access denied desipte being an admin heck even as set as super admin they still will not be allowed to be used i think the main reason why is due to the way you identify players in this mod