estimated max. usage: unknown, due to recursion - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: estimated max. usage: unknown, due to recursion (
/showthread.php?tid=369877)
estimated max. usage: unknown, due to recursion -
Mellnik - 18.08.2012
How to fix this?
estimated max. usage: unknown, due to recursion
I compiled with param -d3
I also dont return functions
Re: estimated max. usage: unknown, due to recursion -
Vince - 18.08.2012
It says that because you have functions that call themselves. For example:
pawn Код:
function1(param)
{
if(foo())
{
function1(42);
}
}
AW: estimated max. usage: unknown, due to recursion -
Mellnik - 18.08.2012
hmmm I dont see any functions like that in my script
I use dcmd maybe they call themself
AW: estimated max. usage: unknown, due to recursion -
Mellnik - 18.08.2012
can anyone help me please
Re: estimated max. usage: unknown, due to recursion -
ikkentim - 18.08.2012
The only reason of recursion is that what Vince said. You've also checked your includes etc.?