AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Admin flag (https://forums.alliedmods.net/showthread.php?t=105991)

rikards1 10-10-2009 13:36

Admin flag
 
Hello, I just wonder. What do I put inside the .sma to make so only headadmin (flag a) can use it? Thnx for eny help.

SnoW 10-10-2009 13:52

Re: Admin flag
 
PHP Code:

if( get_user_flagsindex ) & ADMIN_IMMUNITY 

Note that you should search.

rikards1 10-10-2009 14:44

Re: Admin flag
 
shouldnt I set out an a for headadmin? ohhh..... I mean input admin flag...

vitorrd 10-10-2009 17:47

Re: Admin flag
 
SNoW's code is what you want. You can check the admin access levels at http://www.amxmodx.org/funcwiki.php?...=1#const_admin

Arkshine 10-10-2009 18:06

Re: Admin flag
 
A "headadmin" should be the one who has the rcon flag.

vitorrd 10-10-2009 18:09

Re: Admin flag
 
Quote:

Originally Posted by Arkshine (Post 958003)
A "headadmin" should be the one who has the rcon flag.

Indeed, but it happens that in some servers they give rcon to some admins but still want private stuff. Not quite sure why, though.

SnoW 10-11-2009 03:23

Re: Admin flag
 
Quote:

Originally Posted by rikards1 (Post 957764)
Hello, I just wonder. What do I put inside the .sma to make so only headadmin (flag a) can use it? Thnx for eny help.

It doesn't matter what he meant with headadmin since he specified that it was flag a.

rikards1 10-11-2009 09:59

Re: Admin flag
 
eny help plzz? Ur just writing, not helping..... I want to set admin flag A (if possible, if not the flag U) in the .sma file..... plz help me

rikards1 10-11-2009 10:00

Re: Admin flag
 
I just want to set flag A (if possible, if not then U) in the .sma file!!!

Arkshine 10-11-2009 10:04

Re: Admin flag
 
Provide more informations, because it's hard to understand you.


All times are GMT -4. The time now is 22:34.

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