08.08.2012, 16:30
Simply create a variable before the loop:
Then you switch between 1 and 0 each loop:
I hope you understand what I mean.
pawn Код:
new ColorOption;
pawn Код:
for(......)
{
if(ColorOption == 0)
{
ColorOption = 1;
//code for red color
}
else
{
ColorOption = 0
//code for green color
}
}