Advertisement
Guest User

MissionEndLoop.sqf

a guest
Aug 10th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  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. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement