custoum debug monitor

S3M4J

New Member
Hello folks i'm new to this and looking for a little bit of help if possible.
I have code for a debug monitor

Code:
if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = !custom_monitor;};

while {custom_monitor} do
{
    _kills =         player getVariable["zombieKills",0];
    _killsH =         player getVariable["humanKills",0];
    _killsB =         player getVariable["banditKills",0];
    _humanity =        player getVariable["humanity",0];
   
    hintSilent parseText format ["
    <t size='1.25' font='Bitstream'align='center' color='#D60000'>DayZ Epoch</t><br/>
    <t size='1.15' font='Bitstream'align='center' color='#D60000'>CRACKCLAN</t><br/>
    <t size='1.15' font='Bitstream'align='center' color='#5882FA'>Survived %2 Days</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Players Online: </t><t size='0.95 'font='Bitstream' align='right'>%3</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='0.95' font='Bitstream' align='right'>%4</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='0.95' font='Bitstream' align='right'>%5</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='0.95' font='Bitstream' align='right'>%6</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='0.95' font='Bitstream' align='right'>%7</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Blood: </t><t size='0.95' font='Bitstream' align='right'>%8</t><br/>
    <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>FPS: </t><t size='0.95' font='Bitstream' align='right'>%9</t><br/>
    <t size='1'font='Bitstream'align='left' color='#104E8B' >Current Bandit Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%11</t><br/>
    <t size='1'font='Bitstream'align='left' color='#104E8B' >Current Hero Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%12</t><br/>
    <t size='1.15' font='Bitstream'align='center' color='#5882FA'>Restart in %10 Minutes</t><br/>",

    dayz_playerName,(dayz_Survived),(count playableUnits),_killsH,_killsB,_kills,round _humanity,r_player_blood,(round diag_fps),(round(240-(serverTime) / 60))
    ];
sleep 1;
};

Code:
 [] ExecVM "debug_monitor.sqf";

Can someone help me get this into my game so it shows for users not sure where to add it
 
make a sqf file in your mission pbo or and name it debug_monitor and paste that code into the file and then go to your init and go to the very bottom and paste
[] ExecVM "debug_monitor.sqf";
 
Back
Top