Comrades in Arms Discussion Board
MP-compatible countdown timer - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: MP-compatible countdown timer (/showthread.php?tid=2354)



MP-compatible countdown timer - Outlawz7 - 04-29-2013

I'm using the script from this post:
http://forums.bistudio.com/showthread.php?100326-Simple-CountDown-script&p=1647722&viewfull=1#post1647722

Will it work or not?


Re: MP-compatible countdown timer - Outlawz7 - 05-01-2013

According to that thread that one doesn't work on dedi, so what about this? Same thread, from Shuko

Quote:// Usage: nul = 20 execvm "timer.sqf"

private ["_t","_min","_sec","_msec"];

_t = _this * 60;

while {_t > 0} do {
  _min = floor (_t / 60);
  _sec = floor (_t mod 60);

  _min = (if (_min <= 9) then {"0"} else {""}) + str _min;
  _sec = (if (_sec <= 9) then {"0"} else {""}) + str _sec;
 
  hintsilent format["%1:%2",_min,_sec];
 
  _t = _t - 1;
  sleep 1;
};



Re: MP-compatible countdown timer - GG-Viktor Reznov - 05-03-2013

http://www.armaholic.com/forums.php?m=posts&q=8251&n=last#bottom