01.07.2009, 17:01
Right I want somthing that shows 100% - 76% green 75% to 50% Yellow 49% to 0% Red Anyone have any idea's ?
if(variable >= 0 && variable < 50) tdcolor = COLOR_RED; else if(variable >= 50 && variable < 76) tdcolor = COLOR_YELLOW; else if(variable >= 75 and variable <= 100) tdcolor = COLOR_GREEN; TextDrawColor(TextDrawName, tdcolor);