AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Help sourcemod adding custom flags (https://forums.alliedmods.net/showthread.php?t=324755)

BloodBullet 05-26-2020 09:57

Help sourcemod adding custom flags
 
Hello , on my server i have around 400 commands of sm_..... . I tried in admin_level , admin_groups and when i put admin on custom "sm_models" "v" it doesn't indentify as that flag

LaGgLs 05-26-2020 16:14

Re: Help sourcemod adding custom flags
 
You can read about how the flags works here https://wiki.alliedmods.net/Adding_Admins_(SourceMod) and install sourcebans much better and easy to block flags

BloodBullet 05-31-2020 13:14

Re: Help sourcemod adding custom flags
 
Quote:

Originally Posted by LaGgLs (Post 2702459)
You can read about how the flags works here https://wiki.alliedmods.net/Adding_Admins_(SourceMod) and install sourcebans much better and easy to block flags

Still no help no add custom flags for sm_.... . I only found how to add simple admin with the flags given .

PC Gamer 06-01-2020 10:51

Re: Help sourcemod adding custom flags
 
Your original post is very confusing as it doesn't clearly state what the problem is.

The wiki officially lists custom flags as: o, p, q, r, s, t
For some reason you are trying to use 'v'.

You can use the \sourcemod\configs\admin_overrides.cfg file to limit command access to players with a particular flag.

TomL. 06-01-2020 13:36

Re: Help sourcemod adding custom flags
 
https://wiki.alliedmods.net/Adding_A...rceMod)#Levels

These are the only supported flags by sourcemod so the flag "v" won't work.

BloodBullet 06-03-2020 03:10

Re: Help sourcemod adding custom flags
 
Quote:

Originally Posted by TomL. (Post 2703519)
https://wiki.alliedmods.net/Adding_A...rceMod)#Levels

These are the only supported flags by sourcemod so the flag "v" won't work.


I understand. But there is a way in script to put flag on command ?

TomL. 06-03-2020 06:54

Re: Help sourcemod adding custom flags
 
Quote:

Originally Posted by BloodBullet (Post 2703765)
I understand. But there is a way in script to put flag on command ?

https://wiki.alliedmods.net/Overridi...ss_(SourceMod)

BloodBullet 06-04-2020 08:06

Re: Help sourcemod adding custom flags
 
Quote:

Originally Posted by TomL. (Post 2703779)

Can give me an tutorial ? I'm completely dumb about this subject . I added in admin.groups , after in overwrite...
PHP Code:

"sm_give"   "j"
"@sm_give" "j" 

Which flag j is in admin.levels ... I don't understand where is the mistake

LaGgLs 06-04-2020 09:53

Re: Help sourcemod adding custom flags
 
Quote:

Originally Posted by BloodBullet (Post 2703915)
Can give me an tutorial ? I'm completely dumb about this subject . I added in admin.groups , after in overwrite...
PHP Code:

"sm_give"   "j"
"@sm_give" "j" 

Which flag j is in admin.levels ... I don't understand where is the mistake

Read this might help you https://wiki.alliedmods.net/Adding_Admins_(SourceMod)

TomL. 06-04-2020 09:58

Re: Help sourcemod adding custom flags
 
Replace the steamid with yours
admins_simple.ini
Code:

"STEAM_X:X:XXXX" "j" //Admin with permissions to special chat privileges
admin_overrides.cfg
Code:

Overrides
{
        "sm_give"        "j"        //flag for special chat privileges
}



All times are GMT -4. The time now is 18:07.

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