adding admin level constants
Hi , i have added #define ADMIN_TEST (1<<26) /* flag "w" */ in amxconst.
What should i do to make it work in plugin where its set ADMIN_TEST. |
Re: adding admin level constants
You have to recompile ALL plugins on your compiler.
|
Re: adding admin level constants
Is there any other way how to add admin levels or mb similar thread to mine with better explanation?
Question: if only one plugin is using that flag which i added manually , why all plugins must be recompiled? Or which plugins should be recompiled? |
Re: adding admin level constants
Well, if you are only ever going to use it in a few plugins and not assigne "w" to any other commands (via cmdaccess.ini) then you should only need to compile those plugins using your modified amxconst.
|
Re: adding admin level constants
I recommend adding the flag to each plugin that uses it instead of modifying amxconst.inc. This way when others try to compile your plugin on their machine they will get no compile errors for undefined symbol.
PHP Code:
|
| All times are GMT -4. The time now is 08:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.