View Single Post
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 04-25-2008 , 07:54   Re: Admin Knife Punish
Reply With Quote #3

Quote:
You should add a #define for the admin flag to check for people who want it on a certain flag.
example
PHP Code:
#define ADMIN_FLAG (1<<19) // for example AMDIN_LEVEL_H
...
if(
access(vIndexADMIN_FLAG) && !access(kIndexADMIN_FLAG)) 
X-olent, I'm right?
TheRadiance is offline
Send a message via ICQ to TheRadiance