amx_who restriction
Hi :)
I was wondering is there any way to restrict this (amx_who) command to normal users. I know that in previous relases of AMXX due to a bug it was restricted :) Can someone point me how to do it? thx 4 answers :) |
ummm not sure why you want to restrict amx_who...
1 so ppl can't figure out whos an admin 2 so ppl can't get steamid's if your worried about 2 then forget it because they will still be able to do a status in console... |
the 1st option :) i dont wanna pipl to know who's the admin
|
amx_who is restricted for normal players.
in 0.16 and in 0.20 as well. you need level ADMIN_ADMIN to use it. remove your admin account, restart the map and connect to your server and you will see that you can't use it. |
You want to restrict or maybe not to restrict this command so normal user could use it ?
|
Plugin admincmd.sma change to :
Code:
//amx_who , for admins onlyCode:
// amx_who , for all players |
The simplest way to restrict it is just dont give the player admin level "y." Give them "z," so that they are registered as a normal user and not as an admin. GO into amxx.cfg I believe and
Code:
amx_default_access "y"Code:
amx_default_access "z" |
unless it was changed in .20 defult acess for players is already z
|
| All times are GMT -4. The time now is 17:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.