Help please
#1

Код:
	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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)