Framework not recognized
Cfg = {}
Cfg.WhitelistedGroups = {
-- Change with your framework's admin groups
[2] = true,
[3] = true,
[4] = true,
[5] = true
}
Cfg.GetGroupsFromSource = function(source)
if source == nil then return 0 end
if source == 0 then return 5 end
-- You should use exports to get the player permission
return exports["core"]:GetPlayerGroups(source)
endLast updated