27.07.2011, 21:35
Well first of all, your if-statement is wrong:
The color will never be smaller than 0 AND greater than 126 at the same time. Change that to:
pawn Код:
if(color1 < 0 && color1 > 126)
pawn Код:
if(!(0 <= color <= 126))