Jump to content
  • 0

Debug help using custom dayz_spaceInterrupt


Nakama Mind

Question

I found this code and I made a custom dayz_spaceInterrupt.sqf and custom compiles, I also tested a few other debugs and they worked fine. I can not seem to get this one to work however any assistance would be greatly appreciated.

waitUntil {alive player};

private ["_servername", "_ts"];

_servername = "INSERT SERVER NAME";
_ts = "INSERT TS DATA";

while {true} do
    {
        _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
        if (player == vehicle player) then
        {
            _pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
        }
            else
        {
            _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
        };
        hintSilent parseText format ["
        <t color='#009FCF' size='1.30' font='Bitstream' align='left'>[</t><t color='#ff5200' size='1.30' font='Bitstream' align='left'>_servername</t><t color='#009FCF' size='1.30' font='Bitstream' align='left'>]</t><br/>
        <t color='#009FCF' size='1.15' font='Bitstream' align='left'>%1 (</t><t color='#ff5200' size='1.15' font='Bitstream' align='left'>%2</t><t color='#009FCF' size='1.15' font='Bitstream' align='left'>)</t><br/>
        <img size='3' align='right' image='%12'/><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Players Online:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%3</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Zombie Kills</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%4</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Headshots:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%5</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Survivors Killed:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%6</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Bandits Killed:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%7</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Blood:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%8</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Humanity:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%9</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>FPS:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%10</t><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>Restart:</t><t color='#ff5200' size='1' font='Bitstream' align='right'>%11</t><br/><br/>
        <t color='#009FCF' size='1' font='Bitstream' align='left'>TS3:</t><br/>
        <t color='#ff5200' size='1' font='Bitstream' align='left'>_ts</t><br/><br/><br/>",
        (name player),//1
        (dayz_Survived),//2
        (count playableUnits),//3
        (player getVariable['zombieKills', 0]),//4
        (player getVariable['headShots', 0]),//5
        (player getVariable['humanKills', 0]),//6
        (player getVariable['banditKills', 0]),//7
        (player getVariable['USEC_BloodQty', r_player_blood]),//8
        (player getVariable['humanity', 0]),//9
        (round diag_fps),//10
        (round(240-(serverTime) / 60)),//11
        _pic,];//12
        sleep 1;
    };
};

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...