21.06.2015, 14:11
The message appears if the compiler thinks that your scripts could case a heap / stack collision
That happens if one of your function uses to much local memory
In your case the compiler couldn't calculate it because your function is recursive like
You should change that code to a for / while loop
Its not something to worry about if you know what you are doing (many people don't)
But still you should take a look inside the code and check if you can reduce the stack usage (local variables) or make it non recursive
If a real collision happens (while running the script) you will get an error message in your samp-server console
Alternative you can increase the stack size but thats is not a solution only a workaround
That happens if one of your function uses to much local memory
In your case the compiler couldn't calculate it because your function is recursive like
pawn Код:
stock pCountdown(count) if(count> 0) printf("%d", count), pCountdown(--count); else print("Start");
Its not something to worry about if you know what you are doing (many people don't)
But still you should take a look inside the code and check if you can reduce the stack usage (local variables) or make it non recursive
If a real collision happens (while running the script) you will get an error message in your samp-server console
Alternative you can increase the stack size but thats is not a solution only a workaround