SHARE
TWEET

MissionEndLoop.sqf

a guest Aug 10th, 2013 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MatchEnd = true;
  2.  
  3.          while {MatchEnd} do {
  4.          
  5.            if (WestKillCount == MaxTeamKills) then {
  6.            
  7.             ["End1","BIS_fnc_endMission",west] call BIS_fnc_MP;
  8.             ["End2","BIS_fnc_endMission",east] call BIS_fnc_MP;  
  9.            
  10.             MatchEnd = false;
  11.        };
  12.            
  13.            if (EastKillCount == MaxTeamKills) then {
  14.            
  15.                 ["End3","BIS_fnc_endMission",west] call BIS_fnc_MP;
  16.             ["End4","BIS_fnc_endMission",east] call BIS_fnc_MP;
  17.            
  18.             MatchEnd = false;
  19.        };
  20.            
  21.        sleep 1;    
  22.        
  23.     };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top