Quote:
Originally Posted by Chaosxk
Thanks, added sm_setbh, sm_resetbh and convar sm_blackhole_ff to O.P.
Is it really needed to add CheckCommandAccess when the alias commands can be added to admin overrides?
|
Yeah, so my point was, if your setup is meant to be an alias setup (sm_bh -> sm_blackhole -> Command_Blackhole), then CheckCommandAccess would make sense. If it was instead supposed to be (sm_bh -> Command_Blackhole, sm_blackhole -> Command_Blackhole; the commands aren't intended to be aliases of each other), then it wouldn't. The capability to add the aliases to admin overrides is there, but logically, an alias of a command should have the same access as the base command itself.
Based on your intentions for the commands, treating them as aliases may or may not make sense.
(Also serves as idiot-proofing if somebody puts an access override for sm_blackholeme but not sm_bhme, then complains that people have access to it even though they've clearly not set things up properly).
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.
All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You
will be fed to javalia otherwise.
Psyduck likes replays.