SA-MP Forums Archive
Help please - 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: Help please (/showthread.php?tid=99250)



Help please - _TeRmiNaToR_ - 26.09.2009

Код:
	for(new Float:obje; obje <= 360.0; obje ++)
	{
		CreateStreamObject(13592, x,y,z,rx,ry,rz);
		Objects++;
		printf("Objects: %d", Objects);
	}
I will make the pritf on five five... But who can I it ?

Example:
Код:
	for(new Float:obje; obje <= 360.0; obje ++)
	{
		CreateStreamObject(13592, x,y,z,rx,ry,rz);
		Objects++;
		if(Objects == 5) printf("Objects: %d", Objects);
        else if(Objects == 10) printf("Objects: %d", Objects);
        else if(Objects == 15) printf("Objects: %d", Objects);
        else if(Objects == 20) printf("Objects: %d", Objects);
        else if(Objects == 25) printf("Objects: %d", Objects);
	}
But I will this make shorter, I thought could not tell full it.

Sorry for my bad english.