What are stocks exactly?
What is the difference between a STOCK and a regular function?
Is it only that it is not compiled if it is not used? Thank you. |
Re: What are stocks exactly?
Quote:
|
Re: What are stocks exactly?
Yup and many on these forums refer to a function as a stock..when you hear 'stock', 9/10 times it means function. They should only be used in include files.
|
Re: What are stocks exactly?
Quote:
Also stocks are welcome where you will use in multiple plugins the same function, like access from amxmisc or others |
Re: What are stocks exactly?
Generally stocks are added in includes, since codders doesn't use all that exists into them. So when he compile, do not get errors like "Function is not be used". So, consider when you want a custom function, add as an private functions instead of stock in plugin
|
| All times are GMT -4. The time now is 04:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.