Raised This Month: $ Target: $400
 0% 

What are stocks exactly?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-29-2018 , 08:27   Re: What are stocks exactly?
Reply With Quote #4

Quote:
Originally Posted by GoldNux View Post
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.
Yes, and if you code incorrectly and not use it, compiler will not give any error from that function.
Also stocks are welcome where you will use in multiple plugins the same function, like access from amxmisc or others
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode