...
...
|
Re: Stock vs. Private vs. Public
This is not a question of what is better. Every one of them is used in a specific scenario.
I explained what "stock" is a few days ago in your other topic and the others were explained in this forum countless times. Search. |
Re: Stock vs. Private vs. Public
|
Re: Stock vs. Private vs. Public
In short, you should only use stock in include files. Use public when the function needs to be used by AMX-X in a callback, set_task(), etc. If the function is used only locally, directly by code in your plugin, public is not needed. When in doubt, use public.
|
All times are GMT -4. The time now is 02:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.