Raised This Month: $ Target: $400
 0% 

Connect Separate Plugins?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mirun.Frontier
Member
Join Date: Aug 2008
Old 04-26-2011 , 00:27   Re: Connect Separate Plugins?
Reply With Quote #3

I added a native to the bazooka plugin ( native give_item_bazooka(id,ammo,sound) ) and used it into the shop plugin, but when i tried to compile, it did not work. The bazooka plugin itself had a few errors without me touching its other coding.

there were also 2 separate sources for bazooka advanced (to me, reasons unknown), but the way both of them give a bazooka is different.
One uses the C4, and the other has the give_item_bazooka(which is the same thing i think but shorter)

*EDIT: I got it to compile but i made give_item_bazooka its own .inc because when i tried in the bazooka plugin, it didn't compile due to 1 random error that popped up after i did add it in the plugin. But now that i added it as a .inc and then included it with my shop plugin, it compiles, but then when i tested in-game, my plugin wasn't working, i get bad load when i check it in amx_plugins.

*EDIT #2: Problem with my shop plugin( i think ) is due to the bazooka .inc native, but im trying to add the native into the bazooka plugin and im getting error messages. Im setting the native up like this:
PHP Code:
public native_give_item_bazooka(id)
{
    return 
give_item_bazooka[id];

and then i get invalid subscript, token, and expression.
__________________
I can't believe I wasted 5 years of my life not knowing how to program correctly. Went too deep into advanced coding before even learning the basics correctly. :c

Last edited by Mirun.Frontier; 04-26-2011 at 01:27.
Mirun.Frontier 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:47.


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