Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //--init.sqf
- WestKillCount = 0;
- EastKillCount = 0;
- MaxTeamKills = 5; //Set tickets. Max Team Kills that each team has to achieve before the mission ends.
- publicvariable "WestKillCount";
- publicvariable "EastKillCount";
- publicvariable "MaxTeamKills";
- playerKilled = CompileFinal preprocessFileLineNumbers "playerKilled.sqf";
- player addMPEventHandler ["mpkilled", {[_this select 0, _this select 1] Spawn playerKilled}];
- if (isServer) then {ExecVM "MissionEndLoop.sqf"}; //Call proper endings on each client. Mission ends for all players when either west or east team runs out of tickets.
Advertisement
Add Comment
Please, Sign In to add comment