CreateOneForward or callfunc_begin & callfunc_end
Hello,
What should i use if i need to call function inside of one plugin Functions will be called < 100 times sec also < 100 times call in one sec will be called function with one param max or no params at all. I like callfunc_begin because it is so nice and easy to add params PHP Code:
when you create forward you will also set param count and types in same time. I also heard that callfunc_begin is bad and i should use createforward native but in my case it is little bit bad. Im trying to do my own forwards system what will run inside my plugin and also have my taste in opportunities. PHP Code:
Thanks! |
Re: CreateOneForward or callfunc_begin & callfunc_end
Basically, callfunc was the old system, before you were able to create forwards and dynamic natives.
You can still use when you want to support a plugin that is not yours and you want people can use your plugin and the other plugin, but if it if for your own usage, i suggest to edit the plugin that is not yours so you can add forward or dynamic native in it. single forward, multi forward, dynamic native, depends on your needs, and not harder to use than callfunc ;) |
| All times are GMT -4. The time now is 10:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.