View Single Post
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 07-27-2019 , 11:14   Re: How to enable commands for certain groups
Reply With Quote #6

Your override flag (and commands) should be something unique to that privilege level.

Maybe do something like this:

Code:
Overrides
{
//Allow VIP to use
     "sm_taunt"     "a"
     "sm_vote"     "a"
     "sm_csay"     "a"
     "sm_defaultdance"     "a"
	 
//Allow Mods to use
     "sm_kick"     "b"
     "sm_ban"     "b"
     "sm_slay"     "b"
     "sm_slap"     "b"
	 
//Allow Admin to ue
     "sm_noclip"     "k"
     "sm_buddha"     "k"
     "sm_swapteam"     "k"
     "sm_settime"     "k"
     "sm_addtime"     "k"
}
Since VIPs and above all have the 'a' flag they can use the commands with an 'a' flag override.

Moderators and Admins each have the 'b' flag so they can use commands with the 'b' override. VIPs do not have the 'b' flag so they cannot use commands with the 'b' override.

Admins are the only ones with "k" flag so they are the only ones that can use commands with the "k" override.

I hope this helps...
PC Gamer is offline