Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isServer) then {
- [] spawn {
- waitUntil { sleep 0.3; !isNil "warbegins" && {warbegins == 1} };
- ["Arma Project", "Malaysia Airlines", "Автор: Yol, Gas"] spawn BIS_fnc_infoText;
- _missionTime = 90*60;
- _rtfair = 10;
- _endMessage = "Время вышло. Победа красных!";
- _endMessageAlt = "Русские разведчики мертвы! Победа синих!";
- _endMessageEvac = "Русские разведчики вывезли документы! Победа красных!";
- _srv_gameStart = diag_tickTime;
- while {isNil "srv_missionFinished"} do {
- sleep 10;
- if (((diag_tickTime - _srv_gameStart) > _rtfair) && (fuel mi35 == 0)) then {
- mi35 setFuel 1;
- mi35 say3D ["r23", 200, 1];
- sleep 3;
- mi35 say3D ["r61", 200, 1];
- _rtfair = 10000;
- };
- if (((diag_tickTime - _srv_gameStart) > _missionTime)) then {
- srv_missionFinished = true;
- [_endMessage] call MAMaS_endMission;
- } else {
- if (({!alive(_x)} count [rzv_1,rzv_2,rzv_3,rzv_4,rzv_5,rzv_6,rzv_7,rzv_8,rzv_9,rzv_10,rzv_11,rzv_12,rzv_13,rzv_14,rzv_15])>15) then { //>15 потом исправить
- srv_missionFinished = true;
- [_endMessageAlt] call MAMaS_endMission;
- } else {
- if (((("EvMoscow" in (items player)) && {(player distance (markerPos "place1")) < 800})) or ((("EvMoscow" in (items player)) && {(player distance (markerPos "place2")) < 300}))) then {
- srv_missionFinished = true;
- [_endMessageEvac] call MAMaS_endMission;
- };
- };
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement