28.03.2018, 18:34
Float:
I want the gasoline displayed in hundredths (for example 50,48L)
format (strb, sizeof (strb), "~ y ~ Fuel: ~ b ~% d", gasoline);
TextDrawSetString (Benzin [playerid], string);
how to display? % f or% 2.f?
DATATIME:
I save the date in the database for a period of months using NOW () - it is saved perfectly, just the question of how to display in the game? -% s? - does not exit,% f is also ..
i-number, s -text, f- with floating point. And what about DATATIME in mysql? -% s,% i, or what?
I want the gasoline displayed in hundredths (for example 50,48L)
format (strb, sizeof (strb), "~ y ~ Fuel: ~ b ~% d", gasoline);
TextDrawSetString (Benzin [playerid], string);
how to display? % f or% 2.f?
DATATIME:
I save the date in the database for a period of months using NOW () - it is saved perfectly, just the question of how to display in the game? -% s? - does not exit,% f is also ..
i-number, s -text, f- with floating point. And what about DATATIME in mysql? -% s,% i, or what?