Hrm...
What kinda things is this usefull for?
|
if you have to ask you don't know ;]
<serious> it's useful for calling arbitrary functions that you do not know the name for. for example, PHP has this ability: $x = "myfunction" $x(); //This will call "myfunction" if it exists same thing in C: int myfunc(void); int (*func)(void) = myfunc; (*func)(); |
?
Does the "callfunc_begin" execute the public fuction in the plugin also?
|
Re: ?
Quote:
|
oh
yeah sorry PM.. thats what i meant but when You execute it it will run what evers in that public command?
|
i don't really understand you so i'll make an example :)
plugin1 Code:
plugin2 Code:
The output should be: Code:
Will call the_function in plugin1.amx; the int param is 4, the intrf Param is 8, the str param is "(:" |
| All times are GMT -4. The time now is 21:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.