Advertisement
Guest User

Untitled

a guest
Mar 16th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. null = [65] spawn {
  2. _time = _this select 0;
  3. for "_i" from 0 to _time step 1 do {
  4. _h = floor(_time/60/60);
  5. _m = floor(_time/60);
  6. _s = _time mod 60;
  7. _hh = "";
  8. if (_h < 10) then {_hh = "0"};
  9. _mm = "";
  10. if (_m < 10) then {_mm = "0"};
  11. _ss = "";
  12. if (_s < 10) then {_ss = "0"};
  13. _timeFormat = format ["%1%2:%3%4:%5%6",_hh,_h,_mm,_m,_ss,_s];
  14. systemChat _timeFormat;
  15. _time = _time - 1;
  16. Sleep 1;
  17. };
  18. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement