Raised This Month: $ Target: $400
 0% 

Admin flag


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rikards1
Member
Join Date: Aug 2009
Old 10-10-2009 , 13:36   Admin flag
Reply With Quote #1

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.
rikards1 is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-10-2009 , 13:52   Re: Admin flag
Reply With Quote #2

PHP Code:
if( get_user_flagsindex ) & ADMIN_IMMUNITY 
Note that you should search.
SnoW is offline
Send a message via MSN to SnoW
rikards1
Member
Join Date: Aug 2009
Old 10-10-2009 , 14:44   Re: Admin flag
Reply With Quote #3

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

Last edited by rikards1; 10-10-2009 at 14:46.
rikards1 is offline
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-10-2009 , 17:47   Re: Admin flag
Reply With Quote #4

SNoW's code is what you want. You can check the admin access levels at http://www.amxmodx.org/funcwiki.php?...=1#const_admin
vitorrd is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-10-2009 , 18:06   Re: Admin flag
Reply With Quote #5

A "headadmin" should be the one who has the rcon flag.
__________________
Arkshine is offline
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-10-2009 , 18:09   Re: Admin flag
Reply With Quote #6

Quote:
Originally Posted by Arkshine View Post
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.
vitorrd is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-11-2009 , 03:23   Re: Admin flag
Reply With Quote #7

Quote:
Originally Posted by rikards1 View Post
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.
SnoW is offline
Send a message via MSN to SnoW
rikards1
Member
Join Date: Aug 2009
Old 10-11-2009 , 09:59   Re: Admin flag
Reply With Quote #8

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 is offline
rikards1
Member
Join Date: Aug 2009
Old 10-11-2009 , 10:00   Re: Admin flag
Reply With Quote #9

I just want to set flag A (if possible, if not then U) in the .sma file!!!
rikards1 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-11-2009 , 10:04   Re: Admin flag
Reply With Quote #10

Provide more informations, because it's hard to understand you.
__________________
Arkshine is offline
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 22:34.


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