adri1

Untitled

Sep 18th, 2017
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. stock TimeConvertEx(sec, &days, &hours, &minutes, &seconds)
  2. {
  3. days = floatround(sec / 86400);
  4. hours = floatround((sec - (days * 86400)) / 3600);
  5. minutes = floatround((sec - (days * 86400) - (hours * 3600)) / 60);
  6. seconds = sec % 60;
  7. return 1;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment