Raised This Month: $ Target: $400
 0% 

Example of plugin with sub-plugins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 04-10-2011 , 11:29   Example of plugin with sub-plugins
Reply With Quote #1

Hey, can anyone share an example with head-plugin, for example, that has a MySql system, where do you identify the ADMIN, and then how to use sub-plugins, where you shouldn't identify ADMIN anymore, you could just use for example: if( iAdmin[id] ) { .. } and add a random functions... Then create more sub-plugins, with extra features. Or maybe there is a tutorial with that ? But I searched and found - nothing useful.

Like :
*ElementsMain.sma // Here will be the main plugin
-->
* FireElement.sma // Here will be everything for Fire element
* WaterElement.sma // Here will be everything for Water element
* WindElement.sma // Here will be everything for Wind element
* EarthElement.sma // Here will be everything for Earth element

Last edited by reinert; 04-10-2011 at 12:09.
reinert 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 19:54.


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