30.07.2012, 14:41
(
Последний раз редактировалось EV007; 30.07.2012 в 15:52.
)
Hello,
I've got this little progress bar textdraw, and what it does , it shoes vehicle health(letter size according to vehicle health). Now what I don't understand is, how do I add or subtract R,G or B when the vehicle health changes, i.e I want it to be orange when its on half and if it is higher than a half, it should be more green-ish. Kind of a crappy explanation, but I hope you understand what I mean. I got rgb functions and other things I need.
0-255-0 //green
255-50-55 //red
I've got this little progress bar textdraw, and what it does , it shoes vehicle health(letter size according to vehicle health). Now what I don't understand is, how do I add or subtract R,G or B when the vehicle health changes, i.e I want it to be orange when its on half and if it is higher than a half, it should be more green-ish. Kind of a crappy explanation, but I hope you understand what I mean. I got rgb functions and other things I need.
0-255-0 //green
255-50-55 //red