(hope this is the right place)
Hello. Unfortunately I don't have any coding experience of this nature, but I'm trying since I think I'm looking for edits in the SP file, then a recompile, or some other suggestion. Allow me to explain.
A plugin is set for access only by console and admins via flag. The plugin cannot be used by non-admins, whereby I'd like that option (e.g., public access like RTV). I've requested this feature, but it's not feasible at the moment, so I thought I'd give it a try myself.
I've been searching around for similar setups and just trying to generally learn how the access is checked, etc.
The check process is, if I understand correctly:
if client is console || client has flag || client is root
I think the issue is: client has flag (> 0). Is it simply changing that to (== 0) ?
Or is a better approach to use
Admin Overrides, which I've not had to ever use?
Another option of access I thought might be useful is by Class (i.e., TF2 Medic). Like use a cvar to choose what class, then only that Class my access the commands.
I'm hoping this is simple for me to handle and without pushing on the author if its just me that desires it.
Thanks for any input on starting my trail of bread crumbs. I'm not sure how to search for this, so please provide any other links for me to consume.
__________________