Quote:
Originally Posted by Ejziponken
Is there an easy way to change the ADMFLAG_RCON for sm_addban? I want my admins to be able to ban players after they left the servers - without giving them rcon flag.
|
Quote:
Originally Posted by Ejziponken
Is there an easy way to change the ADMFLAG_RCON for sm_addban? I want my admins to be able to ban players after they left the servers - without giving them rcon flag.
|
That's what Admin Overrides could be used for. You're even able to set them from the webpanel as of 1.4.10
http://wiki.alliedmods.net/Overridin...28SourceMod%29
Add sm_addban with the new flag you want as global override or group override.
Quote:
Originally Posted by ecca
He is talking about overrides for sourcebans commando sm_addban. Afaik sourcebans doesnt use checkcommandaccess but i did not find anything about that in code. Afail you cant use overrides then, can you?
|
You don't have to edit the sourcecode. That's what overrides are there for! If you register an admin command using RegAdminCmd it's overrideable. You only need CheckCommandAccess, if you need the permissions elsewhere in your code - not in the command's callback.
__________________