Mido Streamer Help
#1

I use mideostreamer but the objects are not loading, or not create.
My Code:

Код:
 	new Float:X = -38;
	for(new Objects; Objects < 500; Objects++)
	{
		LoopObjects = CreateStreamObject(13666, X, 2492, 15, 0, 0, 9.3, 1000);
		Objects++;
		X += 3.000;
		if(LoopObjects == 500)
		{
		  break;
		}
		else continue;
	}
Without streamer are worked but 250 objects create. I will 500.
Reply
#2

Quote:
Originally Posted by _TeRmiNaToR_
I use mideostreamer but the objects are not loading, or not create.
My Code:

Код:
 	new Float:X = -38;
	for(new Objects; Objects < 500; Objects++)
	{
		LoopObjects = CreateStreamObject(13666, X, 2492, 15, 0, 0, 9.3, 1000);
		Objects++;
		X += 3.000;
		if(LoopObjects == 500)
		{
		  break;
		}
		else continue;
	}
Without streamer are worked but 250 objects create. I will 500.
pawn Код:
//all redundant code
        if(LoopObjects == 500)
        {
          break;
        }
        else continue;
Remove it as it's useless.

pawn Код:
/*  for(new Objects; Objects < 500; */Objects++//)
//  {
//      LoopObjects = CreateStreamObject(13666, X, 2492, 15, 0, 0, 9.3, 1000);
        Objects++;
You are incrementing it yourself on each itteration, remove the last 'Objects++;'.
Reply
#3

Quote:
Originally Posted by Donny
Quote:
Originally Posted by _TeRmiNaToR_
I use mideostreamer but the objects are not loading, or not create.
My Code:

Код:
 	new Float:X = -38;
	for(new Objects; Objects < 500; Objects++)
	{
		LoopObjects = CreateStreamObject(13666, X, 2492, 15, 0, 0, 9.3, 1000);
		Objects++;
		X += 3.000;
		if(LoopObjects == 500)
		{
		  break;
		}
		else continue;
	}
Without streamer are worked but 250 objects create. I will 500.
pawn Код:
//all redundant code
        if(LoopObjects == 500)
        {
          break;
        }
        else continue;
Remove it as it's useless.

pawn Код:
/*  for(new Objects; Objects < 500; */Objects++//)
//  {
//      LoopObjects = CreateStreamObject(13666, X, 2492, 15, 0, 0, 9.3, 1000);
        Objects++;
You are incrementing it yourself on each itteration, remove the last 'Objects++;'.
Tankhs but now over the problem. Wthiout streamer are work, but with streamer are not work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)