Hi guys.
I've the "Wrong text element 'null' " spam in my rpt.
I know it come from the debug monitor, but I can't figure out why and where is the error in my script.
Here is my script :
Thanks a lot
I've the "Wrong text element 'null' " spam in my rpt.
I know it come from the debug monitor, but I can't figure out why and where is the error in my script.
Here is my script :
Code:
fnc_debug = {
debugMonitor = true;
while {debugMonitor} do
{
_headShots = player getVariable["headShots",0];
_kills = player getVariable["zombieKills",0];
_killsH = player getVariable["humanKills",0];
_killsB = player getVariable["banditKills",0];
_humanity = player getVariable["humanity",0];
hintSilent parseText format ["
<br/>
<t size='1.2'font='Bitstream'align='center' color='#104E8B' >%1</t><br/><br/>
<t size='1'font='Bitstream' align='center' color='#104E8B' >Survie depuis %2 jours</t><br/>
<t size='1'font='Bitstream' align='left' color='#EE0000' >Santé:</t><t size='1' font='Bitstream'align='right' color='#FFFFFF' >%3</t><br/>
<t size='1'font='Bitstream' align='left' color='#ffcc00' >Humanité:</t><t size='1'font='Bitstream'align='right' color='#FFFFFF' >%4</t><br/>
<t size='1'font='Bitstream' align='left' color='#ffcc00' >FPS:</t><t size='1' font='Bitstream' align='right' color='#FFFFFF' >%5</t><br/><br/>
<t size='1'font='Bitstream' align='left' color='#ffcc00' >Tir tête:</t><t size='1' font='Bitstream' align='right' color='#FFFFFF' >%6</t><br/>
<t size='1'font='Bitstream' align='left' color='#ffcc00' >Zombies tués:</t><t size='1' font='Bitstream' align='right' color='#FFFFFF' >%7</t><br/>
<t size='1'font='Bitstream' align='left' color='#ff0000' >Meurtres:</t><t size='1' font='Bitstream' align='right' color='#FFFFFF' >%8</t><br/>
<t size='1'font='Bitstream' align='left' color='#16ba00' >Bandits tués:</t><t size='1' font='Bitstream' align='right' color='#FFFFFF' >%9</t><br/>
<t size='1'font='Bitstream' align='left' color='#104E8B' >Redémarrage:</t><t size='1' font='Bitstream' align='right'>%10 Minutes</t>
",dayz_playerName,(dayz_Survived),r_player_blood,round _humanity,round diag_fps,_headShots,_kills,_killsH,_killsB,(round(360-(serverTime)/60))];
sleep 1;
};
};
[] spawn fnc_debug;
Thanks a lot