View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 01-31-2011 , 10:02   Re: [TF2] Spy Improvements (v1.2)
Reply With Quote #6

Quote:
Originally Posted by Matheus28 View Post
Okay, I am a little busy these days, no time to fix some other plugins.

Should I create a command so admins can override or simply use CheckCommandAccess to check the Reservation flag?
You can give CheckCommandAccess a command string as a parameter. The command doesn't have to exist; it will just be used for admin_overrides.

Edit: and actually, if overrides were supported, you wouldn't even need the adminonly cvar. Users can handle that through the overrides file as well. "" for all or "flag(s)" for whatever flag or flags they want it available to.

Last edited by psychonic; 01-31-2011 at 10:09.
psychonic is offline