amx_ban command
How do I set make it so I can have admins only ban but not unban unless the person who has RCON can unban?
|
In your amxx\scripting folder. Open the file admincmd.sma in notepad or something.
Look for this line in there. register_concmd("amx_unban","cmdUnban",ADMIN_ BAN,"<authid or ip>") change ADMIN_BAN for Flag for example ADMIN_LEVEL_A is m flag. etc. Look in the amxconst.inc in the include folder it tells what ADMIN_BAN flag is etc. Change it to the one you want then recompiled, upload it to your server. Restart the server or change map. |
I mean, if there is an admin with access "D", I want the admin to be able to ban (use amx_ban) but that user can not unban, the only user that can unban is a admin with level "L"
|
register_concmd("amx_unban","cmdUnban",ADMIN_ RCON,"<authid or ip>")
Simple as that. Replace the old line with this one and Recompile it. Now only admins with Flag L can unban. If you listen to what i said. Here you go for future reference Quote:
|
thankies!
|
| All times are GMT -4. The time now is 16:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.