30.12.2012, 12:54
For starters it should be
but it probably won't return a exact integer value such as 3 days. It is going to return a float.
You should just do the following:
pawn Код:
SecondsToDHMS (dbt - times, days, hours, mins, sec);
You should just do the following:
pawn Код:
new time = floatround((dbt - times) / 86400), floatround_ceil);