Questions about callfunc_begin_i
I read from Connor that the second parameter is the value returned from the register_plugin native.
So my question is: When I create a native in one plugin. And I call that native from another one the parameters to the native handler in the main plugin that created the native are iPlugin and iParams. Is the iPlugin the plugin ID that can be used in the Callfun_begin_i native? Example is below. I typed this out in notepad without highlighting so If i have typos sorry but you should be able to understand the basics of what i need
Spoiler
To explain in text:
|
Re: Questions about callfunc_begin_i
What is that shit ? :)
Seem that you are making your life difficult and you could do what you need with simplest code, question is what are you trying to do ? But answer is yes, plugin ID is unique, returned by register_plugin, get_plugin, and passed to style 0 natives handlers. |
Re: Re: Questions about callfunc_begin_i
Quote:
Instead of the tries I could of just used a second array. But one array holds the class index and class name. The other needs to have the plugin id and function id in which to call for the child plugin. That way instead of calling a global forward it is only valuing the specific function for what ever class was chosen |
Re: Questions about callfunc_begin_i
Send single forwards to plugins instead of having to call a native for each arg you want to push..
|
Re: Re: Questions about callfunc_begin_i
Quote:
The only arg getting pushed is client id from the main plugin |
Re: Questions about callfunc_begin_i
I say that instead of :
PHP Code:
You could send a single forward, so only to the wanted plugin. PHP Code:
forward created this way : PHP Code:
|
Re: Re: Questions about callfunc_begin_i
Quote:
|
Re: Re: Questions about callfunc_begin_i
Quote:
then use the index that I get when the class registers. I'll play around with it Thanks. I'll post back once I get s compiled and tested |
Re: Questions about callfunc_begin_i
You can see examples of single forwards in ATAC 3 plugin.
|
Re: Re: Questions about callfunc_begin_i
Quote:
|
| All times are GMT -4. The time now is 20:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.