AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with a Admin Flag thing (https://forums.alliedmods.net/showthread.php?t=64801)

Reaper2331 12-24-2007 21:06

Help with a Admin Flag thing
 
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.

[ --<-@ ] Black Rose 12-24-2007 21:33

Re: Help with a Admin Flag thing
 
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().

Reaper2331 12-24-2007 21:54

Re: Help with a Admin Flag thing
 
ok thanks


All times are GMT -4. The time now is 10:59.

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