fuel crashing me..
#4

You could just remove the the last one:

format(String,sizeof(String),"~r~Fuel~g~:~p~%d ~r~MPH~g~:~p~%i",CarFuel[vehicle], floatround(floatdiv(Speed, 1.609344), floatround_floor));

But if Im right, you want to show both MPH and KMH, then you need to add the KMH to the string like this:

format(String,sizeof(String),"~r~Fuel~g~:~p~%d ~r~MPH~g~:~p~%i ~r~KMH~g~:~p~%i",CarFuel[vehicle], floatround(floatdiv(Speed, 1.609344), floatround_floor), floatround(Speed, floatround_floor));
Reply


Messages In This Thread
fuel crashing me.. - by Kar - 28.07.2010, 14:11
Re: fuel crashing me.. - by Mauzen - 28.07.2010, 15:25
Re: fuel crashing me.. - by Kar - 28.07.2010, 15:42
Re: fuel crashing me.. - by Mauzen - 28.07.2010, 15:47
Re: fuel crashing me.. - by Kar - 28.07.2010, 15:56
Re: fuel crashing me.. - by Mauzen - 28.07.2010, 16:31
Re: fuel crashing me.. - by Kar - 28.07.2010, 16:32
Re: fuel crashing me.. - by selten98 - 28.07.2010, 17:23
Re: fuel crashing me.. - by Kar - 28.07.2010, 17:24
Re: fuel crashing me.. - by DJDhan - 28.07.2010, 17:33

Forum Jump:


Users browsing this thread: 2 Guest(s)