Raised This Month: $ Target: $400
 0% 

Typical question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 05-11-2010 , 14:54   Typical question
Reply With Quote #1

Is it possible to attach .sma plugin-source files into another plugin?

For ex i got necro's blockmaker, and since its bit old, it doesn't have any natives or anything that i could use, so i want to attach it to my bm_natives plugin, so i could make ones.
Lure.d is offline
Send a message via Skype™ to Lure.d
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-11-2010 , 15:35   Re: Typical question
Reply With Quote #2

You can either use an include file to declare the natives/forwards or you could just declare them in each plugin you use the natives in. As long as you properly handle them in the original plugin that you're appending, you should be able to just have
Code:
native bm_add_block native bm_other_thing forward bm_block_touch
in each plugin and be able to use them. Just handle them in the main BM plugin, to where you can use the source code from that plugin to help your native handling.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 05-11-2010 , 15:42   Re: Typical question
Reply With Quote #3

so, lets see, in the .inc(include) file, i should include the blockmaker.sma and work it all in the .inc , is that what you wanted to tell?
Lure.d is offline
Send a message via Skype™ to Lure.d
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-11-2010 , 15:46   Re: Typical question
Reply With Quote #4

Nope.

Dynamic / Fake Natives
Plugin API
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Reply



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 03:40.


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