Help with vehicle health on speedometer
#1

Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
	new oststring[100];
	new Float:Ostetenost;
	GetVehicleHealth(vehicleid, Ostetenost);
	format(oststring,256,"~%s~%.0f.0", Ostetenost);
	TextDrawSetString(SpeedoGPS[playerid], oststring);
    return 1;
}
http://i.imgur.com/pV7TdXa.png

Ignore that SpeedoGPS this is my fault with name

Look Under Gorivo:100.. Why its .0 not under 1000.00 like example:768.24
Reply


Messages In This Thread
Help with vehicle health on speedometer - by ilepopivanov - 19.11.2014, 19:41
Re : Help with vehicle health on speedometer - by Dutheil - 19.11.2014, 19:45
Re: Re : Help with vehicle health on speedometer - by ilepopivanov - 19.11.2014, 19:50
Re : Help with vehicle health on speedometer - by Dutheil - 19.11.2014, 19:59

Forum Jump:


Users browsing this thread: 2 Guest(s)