SHARE
TWEET

init.sqf

a guest Aug 10th, 2013 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top