Question about admin flags stored as cvars
Can admin access flags be stored as cvars by their defined identifier names from amxconst ?
e.g. I am wondering if the following would work? Code:
If not, how would this need to be handled? Thanks! -Mug |
No, here's what you do.
Take the access flags you want to use it. Ex. ADMIN_KICK and ADMIN_SLAP (Cant remember exact names off the top of my head) do this: Code:
Use that in the cvar |
This works for me, thanks devnull! :)
-Mug |
Re: Question about admin flags stored as cvars
You could add them to a CVAR, like this:
Code:
:D |
| All times are GMT -4. The time now is 17:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.