Command Restrictions

Command Restrictions v2.0

Нет прав для скачивания
Сообщения
256
Реакции
12
OciXCrom, I am a bit confused on adding restrictions.
As I want to block fb_ban,amx_ban,amx_kick,amx_kickmenu n all such admin commands to be used on other admins. Can you please give me a example
 
Сообщения
157
Реакции
279
pheronix, you can't do that. You can only limit the access for using the command, not who you're using it on. You will need to edit the plugins in order to add immunity protection.
 
Сообщения
256
Реакции
12
OciXCrom,


[amx_kick]
allow all
block anyflag "c"
allow anyflag "a"

[amx_kickmenu]
allow all
block anyflag "c"
allow anyflag "a"

[amx_banmenu]
allow all
block anyflag "c"
allow anyflag "a"

[amx_slapmenu]
allow all
block anyflag "c"
allow anyflag "a"

[fb_menu]
allow all
block anyflag "c"
allow anyflag "a"

[fb_ban]
allow all
block anyflag "c"
allow anyflag "a"

Will This Work ?
 
Сообщения
157
Реакции
279
pheronix, yes, but the "allow" lines won't do anything in your case. It will only block the flags you specified - everything else is allowed by default. You can remove the "allows" and the effect will be the same. Adding "allow all" is the same as not adding it.

What are you exactly trying to do?
 
Сообщения
106
Реакции
12
Помог
1 раз(а)
Не плохо бы добавить в type зависимость от онлайна на сервере и отдельно для каждой команды.
 
Сообщения
106
Реакции
12
Помог
1 раз(а)
OciXCrom, I mean, the prohibition of coomands when certain number of players on the server more or less than necessary, and in each team separately.
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу