31.07.2012, 06:46
Create 3 Progress Bars for vehicle health one with Green , Other two orange and red. When the vehicle health is greater than 500 show the green Progress bar with vehicle health amount. Add one more check if (vhealth < 500 && vhealth > 300) return showprogressbar the orange one with vhealth amount! Add one more check if the vhealth is < 300 then showprogressbar red one with vhealth amount!