Advertisement
gayprogrammist1

Untitled

Jul 15th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. if (isServer) then {
  2. waitUntil { sleep 10; a3a_var_started };
  3. _fag1 = 0;
  4.  
  5. while {isNil "srv_triggerFinished"} do {
  6. sleep 3;
  7. if (_fag1 == 0) then {
  8. if (east countSide list tg1 < 3) && (west countSide list tg1 > 7) && (!alive scud1) && (!alive scud2) && (!alive scud3) then {
  9. _fag1 = 1;
  10. };
  11. };
  12.  
  13. if ((_fag1 == 1) then {
  14. srv_triggerFinished = true;
  15. ["Все установки ликвидированы! Победа атаки!", west] call a3a_fnc_endMission;
  16. };
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement