04.08.2012, 16:27
I think I know your problem now:
This will probably convert correctly, but idk. Just try it, lol. Scripted it here just like that.
pawn Код:
new days,hours,minutes,seconds;
initSeconds(secs){
seconds = secs%60;
secs -= seconds;
minutes = (secs%3600)/60;
secs -= minutes;
hours = (secs%216000)/3600;
secs -= hours;
days = (secs%5184000)/216000;
secs -= days;
}