Formatting in loops - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Formatting in loops (
/showthread.php?tid=190161)
Formatting in loops -
Mike Garber - 14.11.2010
pawn Код:
for(new i = 342; i <= 700; i++)
{
// Formatting strings & other stuff
}
It's used for vehicles, and I've tried commenting out everything (line by line) but the format(<string> things, and It
doesn't work.
So It doesn't finish the loop If I format more then 1428 strings (all together, there's 4 format(<string> in the loop, each is [16] big).
If I change the loop so it loops from 342->699 it works and finish the loop.
Is this a bug or what? Or is there limits? :S