Raised This Month: $ Target: $400
 0% 

amxconst.inc


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 10-17-2010 , 15:33   amxconst.inc
Reply With Quote #1

So in this file we have:
Code:
#define ADMIN_MENU        (1<<20)    /* flag "u" */
#define ADMIN_ADMIN        (1<<24)    /* flag "y" */
#define ADMIN_USER        (1<<25)    /* flag "z" */
Shoudn't that be:
Code:
#define ADMIN_MENU        (1<<20)    /* flag "u" */
#define ADMIN_ADMIN        (1<<21)    /* flag "y" */
#define ADMIN_USER        (1<<22)    /* flag "z" */
?

Now if we have some commands in admincmd.amxx with ADMIN_ADMIN access, admins without flag 'y' can use that command -.-

Last edited by FiFiX; 10-17-2010 at 15:35.
FiFiX is offline
Send a message via Skype™ to FiFiX
 



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 10:26.


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