25.12.2014, 14:22
Simply change it's color when your array value becomes 40. If you're using Toribio's progress bar include, use SetProgressBarColor function.
pawn Код:
if(GetProgressBarValue(my_bar) == 40) SetProgressBarColor(my_bar, 0xFF0000FF);