SHARE
TWEET

playerKilled.sqf

a guest Aug 10th, 2013 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _victim = _this select 0;
  2. _killer = _this select 1;
  3. _Victim_Team = side (group _victim);
  4. _Killer_Team = side (group _killer);
  5.  
  6.  
  7. if (_victim == _killer || _Victim_Team == _Killer_Team) exitWith {};
  8.  
  9.          if (_victim != _killer && _Victim_Team == east) then {
  10.  
  11.      WestKillCount = WestKillCount + 1;
  12.      publicvariable "WestKillCount";
  13.      
  14.      hint format ["Victim Faction: {%1} west kills: {%2} max team kills: {%3} ",_Victim_Team, WestKillCount, MaxTeamKills];
  15.    };
  16.  
  17.          if (_victim != _killer && _Victim_Team == west) then {
  18.  
  19.      EastKillCount = EastKillCount + 1;
  20.      publicvariable "EastKillCount";
  21.      
  22.          hint format ["Victim Faction: {%1} east kills: {%2} max team kills: {%3} ",_Victim_Team, EastKillCount, MaxTeamKills];
  23.          
  24.    };
  25.  
  26.    waitUntil {alive player};
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