Advertisement
Matt34

Untitled

Jul 13th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. dayz_spaceInterrupt = {
  2. private ["_dikCode", "_handled"];
  3. _dikCode = _this select 1;
  4. _handled = false;
  5.  
  6. if (_dikCode == 0x44) then {
  7. if (debugMonitor) then {
  8. debugMonitor = false;
  9. hintSilent "";
  10. } else {[] spawn fnc_debug;};
  11. };
  12. _handled
  13. };
  14.  
  15. fnc_debug = {
  16. debugMonitor = true;
  17. while {debugMonitor} do
  18. {
  19. _myalt = (round(getPosATL player select 2)
  20. _kills = player getVariable["zombieKills",0];
  21. _killsH = player getVariable["humanKills",0];
  22. _killsB = player getVariable["banditKills",0];
  23. _humanity = player getVariable["humanity",0];
  24. _headShots = player getVariable["headShots",0];
  25. _zombies = count entities "zZombie_Base";
  26. _zombiesA = {alive _x} count entities "zZombie_Base";
  27. _banditCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) < 0)} count playableUnits;
  28. _heroCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) >= 5000)} count playableUnits;
  29. _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
  30. if (player == vehicle player) then
  31. {
  32. _pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
  33. }
  34. else
  35. {
  36. _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
  37. };
  38. hintSilent parseText format ["
  39. <t size='1'font='Bitstream'align='center' color='#EE0000' >%1</t><br/>
  40. <t size='1'font='Bitstream'align='left' color='#EE0000' >Midochlorians Left:</t><t size='1' font='Bitstream'align='right' color='#EE0000' >%2</t><br/>
  41. <t size='1'font='Bitstream'align='left' color='#104E8B' >Humanity:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%3</t><br/>
  42. <t size='1'font='Bitstream'align='left' color='#EEC900' >Noobs Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%4</t><br/>
  43. <t size='1'font='Bitstream'align='left' color='#EEC900' >Assholes Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%5</t><br/>
  44. <t size='1'font='Bitstream'align='left' color='#EEC900' >Zombitches Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%6</t><br/>
  45. <t size='1'font='Bitstream'align='left' color='#EEC900' >Dome Shots:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%7</t><br/>
  46. <t size='1' font='Bitstream' align='left' color='#EEC900' >Zombitches (alive/total): </t><t size='1' font='Bitstream' align='right' color='#EEC900' >%9/%8</t><br/>
  47. <t size='1'font='Bitstream'align='left' color='#104E8B' >Current Asshole Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%11</t><br/>
  48. <t size='1'font='Bitstream'align='left' color='#104E8B' >Current NiceGuy Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%12</t><br/>
  49. <t size='1' font='Bitstream' align='left' color='#104E8B' >FPS: </t><t size='1' font='Bitstream' align='right' color='#104E8B' >%10</t><br/>
  50. <img size='3' image='%13'/><br/>
  51. <t size='1' font='Bitstream' align='left' color='#FFBB00'>Current Altitude: </t><t size='1' font='Bitstream' align='right'>%14 m</t><br/>
  52. <t size='1'font='Bitstream'align='center' color='#104E8B' >Press F10 to toggle! </t><br/>
  53. <t size='1'font='Bitstream'align='center' color='#104E8B' >Welcome to the Apocalypse! </t><br/>
  54.  
  55. ",dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots,count entities "zZombie_Base",{alive _x} count entities "zZombie_Base",diag_fps,_banditCount,_heroCount,_pic,_myalt];
  56. sleep 1;
  57. };
  58. };
  59.  
  60. [] spawn fnc_debug;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement