Advertisement
CHAINGUN427

custom_monitor.sqf

Oct 4th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = !custom_monitor;};
  2.  
  3. while {custom_monitor} do
  4. {
  5. _nearestCity = nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],750];
  6. _textCity = "Wilderness";
  7. if (count _nearestCity > 0) then {_textCity = text (_nearestCity select 0)};
  8.  
  9. _timeleft = _combattimeout-time;
  10. _kills = player getVariable["zombieKills",0];
  11. _killsH = player getVariable["humanKills",0];
  12. _killsB = player getVariable["banditKills",0];
  13. _humanity = player getVariable["humanity",0];
  14. _headShots = player getVariable["headShots",0];
  15. _zombies = count entities "zZombie_Base";
  16. _zombiesA = {alive _x} count entities "zZombie_Base";
  17.  
  18. hintSilent parseText format ["
  19. <t size='1.15' font='Bitstream' align='center' color='#DDDDDD'>%17 Players online</t><br/>
  20. <t size='1' font='Bitstream' align='left' color='#EEC900'>Location:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%11</t><br/>
  21. <t size='1' font='Bitstream' align='left' color='#EEC900'>Blood:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%1</t><br/>
  22. <t size='1' font='Bitstream' align='left' color='#EEC900'>Humanity:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%2</t><br/>
  23. <t size='1' font='Bitstream' align='left' color='#EEC900'>Hero Kills:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%3</t><br/>
  24. <t size='1' font='Bitstream' align='left' color='#EEC900'>Bandit Kills:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%4</t><br/>
  25. <t size='1' font='Bitstream' align='left' color='#EEC900'> Zed Kills:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%5</t><br/>
  26. <t size='1' font='Bitstream' align='left' color='#EEC900'>Headshots:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%6</t><br/>
  27. <t size='1' font='Bitstream' align='left' color='#EEC900'>Zombies (alive/total):</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%13/%12</t><br/>
  28. <t size='1' font='Bitstream' align='left' color='#EEC900'>FPS:</t><t size='1' font='Bitstream' align='right' color='#FFFAF0'>%14</t><br/>
  29. <t size='1' font='Bitstream' align='center' color='#DDDDDD'>Fucked in the Mind</t><br/>
  30. <t size='1' font='Bitstream' align='center' color='#DDDDDD'>facebook.com/groups/derpfitm</t><br/>",
  31.  
  32. r_player_blood, //1
  33. round _humanity, //2
  34. _killsH, //3
  35. _killsB, //4
  36. _kills, //5
  37. _headShots, //6
  38. (dayz_Survived), //7
  39. (360-(round(serverTime/60))), //8 change the 180 to suit your server mins for restarts
  40. _pic, //9
  41. _logo, //10
  42. _textCity, //11
  43. count entities "zZombie_Base", //12
  44. {alive _x} count entities "zZombie_Base", //13
  45. (round diag_FPS), //14
  46. dayz_playerName, //15
  47. round(dayz_temperatur), //16
  48. (count playableUnits) //17
  49. ];
  50. sleep 2;
  51. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement