amxx nivel de acesso

explicando como fazer = ) crie o seu manual...
Avatar do usuário
mestre
500 mensagens
500 mensagens
Mensagens: 2696
Registrado em: 03 Abr 2010, 20:00
Facebook: https://www.facebook.com/www.csro.com.br
steam_id: STEAM_0:0:4192
steamcommunity: http://steamcommunity.com/id/portovelhopirata
whatsapp: 990000000
Localização: Porto Velho
Contato:

amxx nivel de acesso

Mensagem por mestre »

Nível de acesso de administradores no servidor:

ADMIN_ALL = nenhum
ADMIN_IMMUNITY = flag "a"
ADMIN_RESERVATION = flag "b"
ADMIN_KICK = flag "c"
ADMIN_BAN = flag "d"
ADMIN_SLAY = flag "e"
ADMIN_MAP = flag "f"
ADMIN_CVAR = flag "g"
ADMIN_CFG = flag "h"
ADMIN_CHAT = flag "i"
ADMIN_VOTE = flag "j"
ADMIN_PASSWORD = flag "k"
ADMIN_RCON = flag "l"
ADMIN_LEVEL_A = flag "m"
ADMIN_LEVEL_B = flag "n"
ADMIN_LEVEL_C = flag "o"
ADMIN_LEVEL_D = flag "p"
ADMIN_LEVEL_E = flag "q"
ADMIN_LEVEL_F = flag "r"
ADMIN_LEVEL_G = flag "s"
ADMIN_LEVEL_H = flag "t"
ADMIN_MENU = flag "u"
ADMIN_ADMIN = flag "y"
ADMIN_USER = flag "z"

Código: Selecionar todos

#define ADMIN_ALL		0	//Everyone
#define ADMIN_IMMUNITY		1	//Flag "a", immunity
#define ADMIN_RESERVATION	2	//Flag "b", reservation
#define ADMIN_KICK		4	//Flag "c", kick
#define ADMIN_BAN		8	//Flag "d", ban
#define ADMIN_SLAY		16	//Flag "e", slay
#define ADMIN_MAP		32	//Flag "f", map change
#define ADMIN_CVAR		64	//Flag "g", cvar change
#define ADMIN_CFG		128	//Flag "h", config execution
#define ADMIN_CHAT		256	//Flag "i", chat
#define ADMIN_VOTE		512	//Flag "j", vote
#define ADMIN_PASSWORD		1024	//Flag "k", sv_password
#define ADMIN_RCON		2048	//Flag "l", rcon access
#define ADMIN_LEVEL_A		4096	//Flag "m", custom
#define ADMIN_LEVEL_B		8192	//Flag "n", custom
#define ADMIN_LEVEL_C		16384	//Flag "o", custom
#define ADMIN_LEVEL_D		32768	//Flag "p", custom
#define ADMIN_LEVEL_E		65536	//Flag "q", custom
#define ADMIN_LEVEL_F		131072	//Flag "r", custom
#define ADMIN_LEVEL_G		262144	//Flag "s", custom
#define ADMIN_LEVEL_H		524288	//Flag "t", custom
#define ADMIN_MENU		1048576	//Flag "u", menus
#define ADMIN_ADMIN		16777216	//Flag "y", default admin
#define ADMIN_USER		33554432	//Flag "z", default user
#define FLAG_KICK		1	//Auth flag "a", kick if no auth
#define FLAG_TAG		2	//Auth flag "b", auth by tag
#define FLAG_AUTHID		4	//Auth flag "c", auth by WON/Steam ID
#define FLAG_IP			8	//Auth flag "d", auth by IP address
#define FLAG_NOPASS		16	//Auth flag "e", don't require password

Código: Selecionar todos

#define ADMIN_ALL           0       /* everyone */
#define ADMIN_IMMUNITY      (1<<0)  /* flag "a" */
#define ADMIN_RESERVATION   (1<<1)  /* flag "b" */
#define ADMIN_KICK          (1<<2)  /* flag "c" */
#define ADMIN_BAN           (1<<3)  /* flag "d" */
#define ADMIN_SLAY          (1<<4)  /* flag "e" */
#define ADMIN_MAP           (1<<5)  /* flag "f" */
#define ADMIN_CVAR          (1<<6)  /* flag "g" */
#define ADMIN_CFG           (1<<7)  /* flag "h" */
#define ADMIN_CHAT          (1<<8)  /* flag "i" */
#define ADMIN_VOTE          (1<<9)  /* flag "j" */
#define ADMIN_PASSWORD      (1<<10) /* flag "k" */
#define ADMIN_RCON          (1<<11) /* flag "l" */
#define ADMIN_LEVEL_A       (1<<12) /* flag "m" */
#define ADMIN_LEVEL_B       (1<<13) /* flag "n" */
#define ADMIN_LEVEL_C       (1<<14) /* flag "o" */
#define ADMIN_LEVEL_D       (1<<15) /* flag "p" */
#define ADMIN_LEVEL_E       (1<<16) /* flag "q" */
#define ADMIN_LEVEL_F       (1<<17) /* flag "r" */
#define ADMIN_LEVEL_G       (1<<18) /* flag "s" */
#define ADMIN_LEVEL_H       (1<<19) /* flag "t" */
#define ADMIN_MENU          (1<<20) /* flag "u" */
#define ADMIN_BAN_TEMP      (1<<21) /* flag "v" */
#define ADMIN_ADMIN         (1<<24) /* flag "y" */
#define ADMIN_USER          (1<<25) /* flag "z" */
Imagem