AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ADMIN_LEVEL_A is that Flag "m" or flag 'a' (https://forums.alliedmods.net/showthread.php?t=6119)

jackflack 09-21-2004 19:57

ADMIN_LEVEL_A is that Flag "m" or flag 'a'
 
I was looking at the amx_exec.sma script and it says it uses ADMIN_LEVEL_A is that the open?

m - custom level A (for additional plugins)

or is it

a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)

is there a list that defines the flag for each admin_level?

Thank you.

-jack

FeuerSturm 09-21-2004 19:58

Re: ADMIN_LEVEL_A is that Flag "m" or flag "a
 
Quote:

Originally Posted by jackflack
I was looking at the amx_exec.sma script and it says it uses ADMIN_LEVEL_A is that the open?

m - custom level A (for additional plugins)

or is it

a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)

is there a list that defines the flag for each admin_level?

Thank you.

-jack

flag a = ADMIN_IMMUNITY
flag m = ADMIN_LEVEL_A

jackflack 09-21-2004 20:01

thanks firestorm.

BTW is there a list that defines all of the flags?

-jack

FeuerSturm 09-21-2004 20:09

Quote:

Originally Posted by jackflack
thanks firestorm.

BTW is there a list that defines all of the flags?

-jack

Code:

#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_ADMIN                (1<<24)        /* flag "y" */
#define ADMIN_USER                (1<<25)        /* flag "z" */


jackflack 09-21-2004 20:14

EXCELLENT Firestorm... exactly what i had been looking for!

Thank You

-jack

Twilight Suzuka 09-21-2004 20:26

try reveiwing the includes....


All times are GMT -4. The time now is 17:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.