17.02.2018, 10:05
Is there any problems if I do this?
I know it works and it compiles, but can this cause memory leaks / other problems?
PHP код:
main()
{
CallLocalFunction("func", "iii", val1, val2, val3);
// or SetTimerEx("func", 5, false);
}
#include <YSI\y_hooks>
hook func(val1)
{
// I do not need val2 and val3 here, so there is just val1 as parameter
//etc..
return 1;
}