View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 10-25-2011 , 10:24   Re: [L4D2] Vote Manager 3
Reply With Quote #6

Quote:
Originally Posted by McFlurry View Post
New method of comparing access flag strings with a client's flag string(someone correct me if there's an easier way)
CheckCommandAccess is the proper way to handle that.

If it's tied to a "feature" rather than an actual command, just make up a command name and set the override_only var to true. The command name is what would be used in admin_overrides or for group overrides.

This would effectively eliminate the access cvars, let you keep the same defaults, and let people change using the existing admin api as well as allowing/respecting overrides.

Last edited by psychonic; 10-25-2011 at 10:24.
psychonic is offline