Raised This Month: $ Target: $400
 0% 

Putting all plugins in 1 SMA?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 05-29-2010 , 11:10   Re: Putting all plugins in 1 SMA?
Reply With Quote #4

Quote:
Originally Posted by Seta00 View Post
Code:
// Plugins merged:
plugin_init() { RegisterHam(Ham_TakeDamage, "player", "Ham_TakeDamage"); // leave only one registration
} public Ham_TakeDamage() { // mimimi.. FwdTakeDamage(id);
} public FwdTakeDamage() { // bla bla bla... }

PHP Code:
// Plugins merged:
plugin_init() {
    
RegisterHam(Ham_TakeDamage"player""Ham_TakeDamage"); // leave only one registration
}

public 
Ham_TakeDamage() {
    
// mimimi..
    // bla bla bla

__________________
I am out of order!
grimvh2 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 05:16.


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