Thread: [Solved] Limited Acces in server
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-06-2020 , 23:49   Re: Some cvar blocked
Reply With Quote #8

@lantimilan, the best method is to not give amx_cvar access to anyone that you don't want to have that access. If you want to give access to certain settings to certain admins, create a new plugin with a custom commands to give access to the functionality that you want them to have.

Quote:
Originally Posted by 4ever16 View Post
Put this in some plugin and it will block amx_cvar for everyone.

PHP Code:
new const BlockCmds[][] = {
"amx_unban",
"amx_rcon",
"amx_cvar"

Completely pointless (and incomplete). Those are admin commands that require certain flags. To prevent people from using them you would simply remove the flags from the people you don't want executing them.
__________________

Last edited by fysiks; 05-06-2020 at 23:51.
fysiks is offline