Scripter help needed

You made two threads with this, and you don't even say what you want to install in any of them. You need to specify what you want or else nobody wanna bother helping you.
 
DEBUG:

Make a file called debug.sqf and paste in this code:
Code:
waitUntil {alive player};
 
while {true} do
{
    _kills =        player getVariable["zombieKills",0];
    _killsH =        player getVariable["humanKills",0];
    _killsB =        player getVariable["banditKills",0];
    _humanity =        player getVariable["humanity",0];
    _headShots =    player getVariable["headShots",0];
    _tL =            (180-(round(serverTime/60)));
 
    hintSilent parseText format ["
    <t size='1.3' font='Bitstream' align='center' color='#ff9c01'> ** SERVER NAME HERE ** </t><br/>
    <t size='1.3' font='Bitstream' align='center'>%1</t><br/>
    <t size='1' font='Bitstream' align='left'>Blood:</t><t size='1' font='Bitstream' align='right' color='#ff0000'>%2</t><br/>
    <t size='1' font='Bitstream' align='left'>Humanity:</t><t size='1'font='Bitstream' align='right'>%3</t><br/>
    <t size='1' font='Bitstream' align='left'>Murders:</t><t size='1'font='Bitstream' align='right'>%4</t><br/>
    <t size='1' font='Bitstream' align='left'>Bandits Killed:</t><t size='1' font='Bitstream' align='right'>%5</t><br/>
    <t size='1' font='Bitstream' align='left'>Zombies Killed:</t><t size='1' font='Bitstream' align='right'>%6</t><br/>
    <t size='1' font='Bitstream' align='left'>Framerate:</t><t size='1' font='Bitstream' align='right'>%8</t><br/>
    <t size='1' font='Bitstream' align='left'>Next restart in:</t><t size='1' font='Bitstream' align='right'>%9min.</t>
    ",
    dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots,(round diag_fps),(_tL)];
};

Call the debug from your init.sqf like this:
Code:
// DEBUG
if (!isDedicated) then {
    [] execVM "debug.sqf";
};

If you run 3 hour restarts leave this as is, if not change the number (180) to your restart intervals (in minutes).
Code:
(180-(round(serverTime/60)));
 
Back
Top