AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Wich is the flag for the VIP and wich group is asigned for it? (https://forums.alliedmods.net/showthread.php?t=347225)

Gabisteam 04-12-2024 23:26

Wich is the flag for the VIP and wich group is asigned for it?
 
Hello everyone. My idea is that VIPS can access with that flag in CUSTOM WEAPONS plugin (installed) and that the rest of the players cannot. I need your help to know how to assign a flag to the VIP group... That is, if there is a flag reserved for that group and what the group is called. I already tried from the admis_group.cfg to place the following:

"VIP"
{
"flags" "t"
"immunity" "1"
}

But that doesn't work.

SyntX 05-12-2024 03:43

Re: Wich is the flag for the VIP and wich group is asigned for it?
 
Which custom weapons plugins are you talking about?

make sure, that plugins command is only accessable for admins and VIPS only. lets say:
PHP Code:


RegAdminCmd
("sm_customweapon"Command_CustomWeaponADMFLAG_CUSTOM6"VIP Command"); 

Modify admin_groups.cfg

PHP Code:

"Groups"
{
    
"VIP"
    
{
        
"flags"        "t"
        "immunity"        "10"
    
}


and finally add admins in admins.cfg:
PHP Code:

Admins
{
    
"Client Name"
    
{
        
"auth"            "steam"
        "identity"        "<steamid>"
        
//"flags"            "t"
                
"group"                       "VIP"
    
}




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

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