3d icon showing vehicle health
#8

pawn Код:
new hp = floatround(GetVehicleHealth(GetPlayerVehicleID(playerid)) / 1000) ;
new string[128];
format(string, sizeof(string), "{FF3300}||||||||||");
strins(string, "{000000}", hp);
Update3DTextLabelText(mylabel, -1, string);
this will make the red bar go down for each 100 hp of the vehicle ..

msg me on irc if you need more help. you know where i'm at
Reply


Messages In This Thread
3d icon showing vehicle health - by Mozz - 12.08.2011, 22:53
Re: 3d icon showing vehicle health - by Tigerkiller - 12.08.2011, 23:12
Re: 3d icon showing vehicle health - by Mozz - 13.08.2011, 01:25
Re: 3d icon showing vehicle health - by dowster - 13.08.2011, 01:39
Re: 3d icon showing vehicle health - by Mozz - 13.08.2011, 01:46
Re: 3d icon showing vehicle health - by dowster - 13.08.2011, 01:59
Re: 3d icon showing vehicle health - by Mozz - 13.08.2011, 02:21
Re: 3d icon showing vehicle health - by Whitetiger - 13.08.2011, 03:30

Forum Jump:


Users browsing this thread: 3 Guest(s)