09.07.2012, 18:30
Hey I am trying to create a damage bar, but what is the script for it, to change it like damage = 100% means it has full health?
Anyone, I just need the script I can put it in my textdraw later.
For people interesting:, here's my code:
Anyone, I just need the script I can put it in my textdraw later.
For people interesting:, here's my code:
pawn Код:
format(damage_string, 50, "Damage: %d", GetVehicleHealth(vehicleid, Float:Health));
TextDrawSetString(Damage, damage_string);