local admins = {
["Limited"] = {},
["Moderator"] = {},
["Administrator"] = {},
["Developer"] = {"LMVM2041"},
["Owner"] = {}
}
for rank, usernames in pairs(admins) do
if table.find(usernames, player.Name) then
print("YES")
end
end
local admins = {
["Limited"] = {},
["Moderator"] = {},
["Administrator"] = {},
["Developer"] = {"LMVM2041"},
["Owner"] = {}
}
local function getRank(player_name)
for rank, names in pairs(admins) do
for _, name in pairs(names) do
if player_name == name then
return rank
end
end
end
--If no rank return nil
return nil
end