27.05.2018, 22:45
How to make 100% hp vehicle and 100 liters of fuel. I do not want to 1000% hp vehicle and 100.0 liters of fuel.
Health: 1000%
Fuel: 100.0 L
Health: 1000%
Fuel: 100.0 L
Код:
format(predstring_p, sizeof(predstring_p), "Health: %.0f%", health_car); format(predstring_p, sizeof(predstring_p), "Fuel: %.1f L", Fuel[vehicleid]);