Embedded colours
#2

Simply create a variable before the loop:

pawn Код:
new ColorOption;
Then you switch between 1 and 0 each loop:

pawn Код:
for(......)
{
if(ColorOption == 0)
{
ColorOption = 1;
//code for red color
}
else
{
ColorOption = 0
//code for green color
}
}
I hope you understand what I mean.
Reply


Messages In This Thread
Embedded colours - by Luis- - 08.08.2012, 16:22
Re: Embedded colours - by Killer#Mummy - 08.08.2012, 16:30
Re: Embedded colours - by Roko_foko - 08.08.2012, 16:30
Re: Embedded colours - by Luis- - 08.08.2012, 16:31
Re: Embedded colours - by Roko_foko - 08.08.2012, 16:39
Re: Embedded colours - by Vince - 08.08.2012, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)