Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- waitUntil {!isNull player};
- if isWest then {
- _side = side player;
- _west = playersNumber west;
- _civ = playersNumber civilian;
- if ((_west/_civ) <= 3) then {
- player groupChat "Already enough pilots active, you must return to lobby and select another slot within 30 seconds or you will be kicked";
- hint "Already enough pilots active, you must return to lobby and select another slot within 30 seconds or you will be kicked";
- titleText["Already enough pilots active, you must return to lobby and select another slot within 30 seconds or you will be kicked", "PLAIN", 30];
- sleep 10;
- _cntNonPil = ({isplayer _x AND (side _x) == _side AND (typeOf _x) != "US_Soldier_Pilot_EP1"} count playableUnits);
- _cntPilots = ({isplayer _x AND (side _x) == _side AND (typeOf _x) == "US_Soldier_Pilot_EP1"} count playableUnits);
- if ((_west/_civ) <= 3) then { _return = [nil,server,"loc",rSPAWN,name player,{failmission "Loser";}] call RE; };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement