Progress bar
#1

hi! I was a scripter 2 years ago. Now i forgat all things...

i wanna make a progress bar for vehicle health... with 4 stept. at 100hp a normal bar(green), at 50hp a lower bar(yellow), at 30hp a lower bar (red), and when the car is on fire a text like " boom "

You can explain me how to do this progress bar?
Reply
#2

up!

what i have to do to disappear at 30hp for example....
Reply
#3

This is to destroy the progressbar when the vehicle health is less then 30. Change the code according to your functions and definations.
pawn Код:
if(GetVehicleHealth(vehicle) < 30)
{
  DestroyProgressBar(BarID);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)