Raised This Month: $ Target: $400
 0% 

Connect Separate Plugins?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Elusive138
Senior Member
Join Date: Dec 2010
Old 04-28-2011 , 19:58   Re: Connect Separate Plugins?
Reply With Quote #9

Well, firstly, if it's register_library("bazookamod"), then you should be using #pragma reqlib "bazookamod". This way the plugin will at least load. Maybe reread the tutorial carefully?

Secondly, you should use register_native("give_item_bazooka","give_item_bazooka", 1) if you don't want to go through a rather messy process of reading params. It's deprecated, but in this case would be much easier. If you don't want to use this, then read the tutorial for how to read params and pass them properly to the give_item_bazooka function.

And lastly, I'm not sure you should name the native the same as the function, and I have no idea if it works at all like that.
Elusive138 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