Advertisement
Guest User

Untitled

a guest
Jul 12th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.63 KB | None | 0 0
  1. hint format ["Argumento(s): \n%1", _this];
  2. 0 spawn {
  3. _minutos = _this select 0;
  4. _segundos = _this select 1;
  5. _texto = "Tiempo restante: %1:%2";
  6.    while {true} do {
  7.     if (_segundos == 3 ) exitWith {
  8.              titleText ["CORRE LA BOMBA EXPLOTARÁ EN 3", "PLAIN"];
  9.             sleep 1;  
  10.             titleText ["CORRE LA BOMBA EXPLOTARÁ EN 2", "PLAIN"];
  11.             sleep 1;
  12.             titleText ["CORRE LA BOMBA EXPLOTARÁ EN 1", "PLAIN"];
  13.             sleep 1;  
  14.             titleText ["BOOM", "PLAIN"];
  15.     titleText ["", "BLACK", 3];
  16.       };
  17.     hint format [_texto, _minutos, _segundos];
  18.     _segundos = _segundos - 1;
  19.    };
  20.   };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement