Raised This Month: $ Target: $400
 0% 

Help with a Admin Flag thing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 12-24-2007 , 21:06   Help with a Admin Flag thing
Reply With Quote #1

ok guys dont know where to ak this but, i want to add my own Admin flag into my server.

Example:
ADMIN_LEADER

i want it to be the flag v

how would i go about doing this.
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 12-24-2007 , 21:33   Re: Help with a Admin Flag thing
Reply With Quote #2

Try giving him the flag "v"
and then
#define ADMIN_LEADER (1<<21)
If it doesn't work you'll probably have to read the flags directly from the file instead of using get_user_flags().
[ --<-@ ] Black Rose is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 12-24-2007 , 21:54   Re: Help with a Admin Flag thing
Reply With Quote #3

ok thanks
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
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 10:59.


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