Pivity

Problem with admin groups!

Last read Never
#1

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?

Confused x 1
#2

How are you adding it, and what admin mod. Is there any Lua Errors?

Confused x 1
#3

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'] = "Работа"

}

Confused x 3Funny x 1
#4

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.

Agree x 2
Users viewing this thread
Nobody