Raised This Month: $ Target: $400
 0% 

a quick q


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
|OnEHiTwOnDeR|
Member
Join Date: Apr 2007
Location: Los Angeles
Old 05-09-2007 , 21:38   a quick q
Reply With Quote #1

if i got this in a plugin


Code:
//Access Levels
#define IMMUNE         ADMIN_LEVEL_B
#define SLAY         ADMIN_SLAY

new invisible[33], stamina[33], zoom[33], gaged[33]
new gMsgSetFOV
and i wanna change it to only admins that have the letter "L" how would i do it? like this..?:

Code:
//Access Levels
#define RCON     ADMIN_LEVEL_L


new invisible[33], stamina[33], zoom[33], gaged[33]
new gMsgSetFOV
__________________
|OnEHiTwOnDeR| is offline
Send a message via AIM to |OnEHiTwOnDeR|
Drak
Veteran Member
Join Date: Jul 2005
Old 05-09-2007 , 21:39   Re: a quick q
Reply With Quote #2

"ADMIN_LEVEL_L" does not exist, there for. You cannot do this.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
|OnEHiTwOnDeR|
Member
Join Date: Apr 2007
Location: Los Angeles
Old 05-09-2007 , 21:43   Re: a quick q
Reply With Quote #3

maybe u can help me without saying it dont exist lol
honestly i wouldnt ask if i knew i just dont so help me out please

u know the letter L its access to rcon so its be ADMIN_LEVEL_RCON?
__________________
|OnEHiTwOnDeR| is offline
Send a message via AIM to |OnEHiTwOnDeR|
stupok
Veteran Member
Join Date: Feb 2006
Old 05-09-2007 , 21:48   Re: a quick q
Reply With Quote #4

Quote:
Originally Posted by amxconst.inc
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" */
stupok is offline
|OnEHiTwOnDeR|
Member
Join Date: Apr 2007
Location: Los Angeles
Old 05-09-2007 , 21:50   Re: a quick q
Reply With Quote #5

thanks so much man
__________________
|OnEHiTwOnDeR| is offline
Send a message via AIM to |OnEHiTwOnDeR|
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:43.


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