Raised This Month: $ Target: $400
 0% 

Admin_overrides problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kfskilljoy
AlliedModders Donor
Join Date: Jul 2013
Old 08-06-2013 , 16:11   Re: Admin_overrides problem
Reply With Quote #1

Ok i tried making it a group but i still got that i dont have access to the command when i set myself as that flag.

"Supporter"
{
"flags" "s"
"immunity" "3"
"Overrides"
{
"sm_noclip" "allow"
"sm_god" "allow"
"sm_buddha" "allow"
"sm_fia" "allow"
"sm_powerplay" "allow"
"sm_colorize" "allow"
"sm_goto" "allow"
"sm_tele" "allow"
"sm_evilglow" "allow"
}
}
kfskilljoy is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-06-2013 , 16:20   Re: Admin_overrides problem
Reply With Quote #2

Quote:
Originally Posted by kfskilljoy View Post
Ok i tried making it a group but i still got that i dont have access to the command when i set myself as that flag.

"Supporter"
{
"flags" "s"
"immunity" "3"
"Overrides"
{
"sm_noclip" "allow"
"sm_god" "allow"
"sm_buddha" "allow"
"sm_fia" "allow"
"sm_powerplay" "allow"
"sm_colorize" "allow"
"sm_goto" "allow"
"sm_tele" "allow"
"sm_evilglow" "allow"
}
}
Groups aren't assigned by flag, but rather by the admin entry in admins_simple.ini or admins.cfg.

In admins_simple.ini, it'd look like this:

Code:
"STEAM:BLAH" "@Supporter"
In admins.cfg, it'd look like this:

The group above MUST have a @ before it or it'll interpret them as flags.

Code:
    "Powerlord"
    {
        "auth" "steam"
        "identity" "STEAM:BLAH"
        "flags" "b"
        "group" "Supporter"
    }
You'll note that unlike admins_simple, I can assign myself flags and a group in admins.cfg. In fact, you can have more than one group per admin in admins.cfg.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-06-2013 at 16:28.
Powerlord 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 21:20.


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