Raised This Month: $ Target: $400
 0% 

Function Headers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-15-2012 , 15:16   Re: Function Headers
Reply With Quote #2

If a function is anything except public, then it is only accessible in the plugin that includes it.

If a function is public, it can be accessed using callfuncs and forwards through other plugins.

Alternatively, you can declare a stock function in an include file, then include the .inc file in multiple plugins.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
 



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 00:19.


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