Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. waitUntil {!isNull player};
  2. if isWest then {
  3. _side = side player;
  4. _west = playersNumber west;
  5. _civ = playersNumber civilian;
  6. if ((_west/_civ) <= 3) then {
  7. player groupChat "Already enough pilots active, you must return to lobby and select another slot within 30 seconds or you will be kicked";
  8. hint "Already enough pilots active, you must return to lobby and select another slot within 30 seconds or you will be kicked";
  9. titleText["Already enough pilots active, you must return to lobby and select another slot within 30 seconds or you will be kicked", "PLAIN", 30];
  10. sleep 10;
  11. _cntNonPil = ({isplayer _x AND (side _x) == _side AND (typeOf _x) != "US_Soldier_Pilot_EP1"} count playableUnits);
  12. _cntPilots = ({isplayer _x AND (side _x) == _side AND (typeOf _x) == "US_Soldier_Pilot_EP1"} count playableUnits);
  13. if ((_west/_civ) <= 3) then { _return = [nil,server,"loc",rSPAWN,name player,{failmission "Loser";}] call RE; };
  14. };
  15. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement