Guest User

init.sqf

a guest
Aug 10th, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. //--init.sqf
  2. WestKillCount = 0;
  3. EastKillCount = 0;
  4. MaxTeamKills = 5; //Set tickets. Max Team Kills that each team has to achieve before the mission ends.
  5.  
  6. publicvariable "WestKillCount";
  7. publicvariable "EastKillCount";
  8. publicvariable "MaxTeamKills";
  9.  
  10. playerKilled = CompileFinal preprocessFileLineNumbers "playerKilled.sqf";
  11. player addMPEventHandler ["mpkilled", {[_this select 0, _this select 1] Spawn playerKilled}];
  12.  
  13.  
  14. 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