27.01.2011, 00:29
Then do it like we told you.
pawn Код:
new color;
if(0 < fSpeed <= 30) color = 0x04B404FF;
else if(30 < fSpeed <= 50) color = 0x5FB404FF;
else if(50 < fSpeed <= 70) color = 0xAEB404FF;
else if(70 < fSpeed <= 90) color = 0xB45F04FF;
else if(90 < fSpeed <= 110) color = 0xDF7401FF;
else if(110 < fSpeed < 1000) color = 0xDF0101FF;
TextDrawColor(SPEEDOMETER[playerid], color);