Problem with admin groups!
Hi! When I add new admin group to my custom addon all commands on server stop working and I cant see my nickname in chat! How can i fix this?
How are you adding it, and what admin mod. Is there any Lua Errors?
There no lua Errors. JWHITELIST = {}
// admin group
JWHITELIST.root = {
'superadmin',
'hadmin',
'admin',
'moderator',
'sadmin',
}
// admin profile
JWHITELIST.adminjobs = {
TEAM_ADMIN
}
// chat commands
JWHITELIST.cmds = {'!jwhitelist', '/jwhitelist'}
// Стандартная работа
JWHITELIST.defteam = TEAM_CITIZEN
if SERVER then return end
JWHITELIST.frame = {}
JWHITELIST.frame.language = {
['title'] = "JWhiteList",
['nick'] = "Ник",
['rank'] = "Ранг",
['steamid'] = "SteamID",
['job'] = "Работа"
}
what u sent us doesnt seem to help us out too much, just shows what looks like a sort of config. Which function is malfunctioning?
As in, which function doesn't work the way it should.