Guest User

TWD Toggle Debug

a guest
Mar 28th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 5.51 KB | None | 0 0
  1. //Let Zeds know
  2. [player,4,true,(getPosATL player)] spawn player_alertZombies;
  3.  
  4. if (isnil ("hotkey_hitme")) then {
  5.     hotkey_hitme = 0;
  6. };
  7. if (hotkey_hitme == 1) then {
  8. hotkey_hitme = 0;
  9. titleText ["Debug Monitor Deactivated","PLAIN DOWN"];titleFadeOut 2;
  10. } else {
  11. hotkey_hitme = 1;
  12. titleText ["Debug Monitor Activated","PLAIN DOWN"];titleFadeOut 2;
  13. };
  14.  
  15.  
  16. if ((getPlayerUID player) in
  17. [
  18. //"139811590",    // Dean
  19. "143144390",    // Ricco
  20. "144565382",    // Curtis
  21. "102208774",    // Kieran
  22. "94794054",     // Adrian
  23. "119540166",    // Cable
  24. "125215110",    // Calvin
  25. "5210496",      // Mak
  26. "167093190",    // GhostSamurai
  27. "111721542",    // Robert
  28. "10265984",     // Z67
  29. "11655302"      // Ghost
  30. ]) then {
  31.     while {sleep 1;hotkey_hitme == 1} do {
  32.      
  33.       hintSilent parseText format ["
  34.     <t size='1.20' font='Bitstream' align='center' color='#00CC00'>[Admin Debug]</t><br/>
  35.     <t size='0.95' font='Bitstream' align='left' >[%18]</t><t size='0.95' font='Bitstream' align='right'>[FPS: %10]</t><br/>
  36.     <t size='0.95' font='Bitstream' align='center' color='#FFBF00'>Survived %7 Days</t><br/>
  37.     <t size='0.95' font='Bitstream' align='left' >Players: %8</t><t size='0.95 'font='Bitstream' align='right'>Within 500m: %11</t><br/>
  38.     <t size='0.95' font='Bitstream' align='left' >Vehicles:</t><t size='0.95' font='Bitstream'align='right'>%13(%14)</t><br/>
  39.     <t size='0.95' font='Bitstream' align='left'>Air: %16</t><t size='0.95' font='Bitstream'align='right'>Sea: %23</t><br/>
  40.     <t size='0.95' font='Bitstream' align='left' >All Bikes: %15</t><t size='0.95' font='Bitstream'align='right'>Cars: %17</t><br/>
  41.     <t size='0.95' font='Bitstream' align='left' >Zombies (alive/total): </t><t size='0.95' font='Bitstream' align='right'>%20(%19)</t><br/>
  42.     <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='0.95' font='Bitstream' align='right'>%2</t><br/>
  43.     <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Headshots: </t><t size='0.95' font='Bitstream' align='right'>%3</t><br/>
  44.     <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='0.95' font='Bitstream' align='right'>%4</t><br/>
  45.     <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='0.95' font='Bitstream' align='right'>%5</t><br/>
  46.     <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='0.95' font='Bitstream' align='right'>%6</t><br/>
  47.     <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Blood: </t><t size='0.95' font='Bitstream' align='right'>%9</t><br/>
  48.     <t size='0.95' font='Bitstream' align='left' >GPS: %22</t><t size='0.95' font='Bitstream' align='right'>DIR: %24</t><br/>
  49.     <t size='0.95'font='Bitstream'align='center' >%21</t><br/>
  50.     ",
  51.     (name player),
  52.     (player getVariable['zombieKills', 0]),
  53.     (player getVariable['headShots', 0]),
  54.     (player getVariable['humanKills', 0]),
  55.     (player getVariable['banditKills', 0]),
  56.     (player getVariable['humanity', 0]),
  57.     (dayz_skilllevel),
  58.     (count playableUnits),
  59.     r_player_blood,
  60.     (round diag_fps),
  61.     (({isPlayer _x} count (getPos vehicle player nearEntities [["AllVehicles"], 500]))-1),
  62.     viewdistance,
  63.     (count([6800, 9200, 0] nearEntities [["StaticWeapon","Car","Motorcycle","Tank","Air","Ship"],25000])),
  64.     count vehicles,
  65.     (count([6800, 9200, 0] nearEntities [["Motorcycle"],25000])),
  66.     (count([6800, 9200, 0] nearEntities [["Air"],25000])),
  67.     (count([6800, 9200, 0] nearEntities [["Car"],25000])),
  68.     (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'displayName')),
  69.     (count entities "zZombie_Base"),
  70.     ({alive _x} count entities "zZombie_Base"),
  71.     (getPosASL player),
  72.     (mapGridPosition getPos player),
  73.     (count([6800, 9200, 0] nearEntities [["Ship"],25000])),
  74.     (round(getDir player))
  75. ];
  76. };
  77.  
  78. } else {
  79. while {sleep 1;hotkey_hitme == 1} do {
  80. hintSilent parseText format ["
  81.     <t size='1.20' font='Bitstream' align='center' color='#00CC00'>%1</t><br/>
  82.     <t size='1.15' font='Bitstream' align='center' color='#00CC00'>voxelloop.co.uk</t><br/>
  83.     <t size='1' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='1.15' font='Bitstream' align='right'>%2</t><br/>
  84.     <t size='1' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='1.15' font='Bitstream' align='right'>%4</t><br/>
  85.     <t size='1' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='1.15' font='Bitstream' align='right'>%5</t><br/>
  86.     <t size='1' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='1.15' font='Bitstream' align='right'>%6</t><br/><br/>
  87.     <t size='1' font='Bitstream' align='left' color='#FFBF00'>Blood: </t><t size='1.15' font='Bitstream' align='right'>%12</t><br/>
  88.     <t size='1' font='Bitstream' align='left' color='#FFBF00'>Zombies (alive/total): </t><t size='1.15' font='Bitstream' align='right'>%14(%13)</t><br/>
  89.     <t size='1.15' font='Bitstream' align='center' color='#00CC00'>TS: voice.vlhosting.co.uk</t><br/>  
  90.     <t size='1.20' font='Bitstream' align='center' color='#00CC00'>Restart in: %11</t><br/>
  91.     ",
  92.     (name player),
  93.     (player getVariable['zombieKills', 0]),
  94.     (player getVariable['headShots', 0]),
  95.     (player getVariable['humanKills', 0]),
  96.     (player getVariable['banditKills', 0]),
  97.     (player getVariable['humanity', 0]),
  98.     (dayz_skilllevel),
  99.     (count entities "zZombie_Base"),
  100.     ({alive _x} count entities "zZombie_Base"),
  101.     (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'displayName')),
  102.     (180-(round(serverTime/60))),
  103.     r_player_blood,
  104.     (count entities "zZombie_Base"),
  105.     ({alive _x} count entities "zZombie_Base"),
  106.     (round diag_fps)
  107.    
  108. ];};};
Advertisement
Add Comment
Please, Sign In to add comment