 |
|
Senior Member
|

04-28-2011
, 19:58
Re: Connect Separate Plugins?
|
#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.
|
|
|
|