Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- null = [65] spawn {
- _time = _this select 0;
- for "_i" from 0 to _time step 1 do {
- _h = floor(_time/60/60);
- _m = floor(_time/60);
- _s = _time mod 60;
- _hh = "";
- if (_h < 10) then {_hh = "0"};
- _mm = "";
- if (_m < 10) then {_mm = "0"};
- _ss = "";
- if (_s < 10) then {_ss = "0"};
- _timeFormat = format ["%1%2:%3%4:%5%6",_hh,_h,_mm,_m,_ss,_s];
- systemChat _timeFormat;
- _time = _time - 1;
- Sleep 1;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement