Skip to content

Instantly share code, notes, and snippets.

Created May 22, 2014 14:54
Show Gist options
  • Save anonymous/d4b1cf3b157261d53b64 to your computer and use it in GitHub Desktop.
Save anonymous/d4b1cf3b157261d53b64 to your computer and use it in GitHub Desktop.
jokers
/*
/////Tweaked j0k3r5 / Original work done by Matt L / and to anyone else that is involved that Ive forgotten////
////www.j0k3r5.com////
If modified and released give credits where due, thank you.
*/
fnc_debug = {
j0k3r5_stats = true;
while {j0k3r5_stats} do
{
_logo = "Stats\stats_logo.paa";
_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
_nearestCity = nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],750];
_textCity = "Wilderness";
if (count _nearestCity > 0) then {_textCity = text (_nearestCity select 0)};
if (player == vehicle player) then
{
_pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
}
else
{
_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
};
_timeleft= _combattimeout-time;
_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];
_zombies = count entities "zZombie_Base";
_zombiesA = {alive _x} count entities "zZombie_Base";
hintSilent parseText format
[
"
<br/>
<t size='1' font='Bitstream'align='center'>Read the rules at</t><br/>
<t size='1' font='Bitstream'align='center'>www.nitrousclan.com</t>
<br/>
<br/>
<t size='1' font='Bitstream'align='left'>Blood:</t><t size='1' font='Bitstream'align='right'color='#FF0000'>%1</t><br/>
<t size='1' font='Bitstream'align='left'>Humanity:</t><t size='1' font='Bitstream'align='right'color='#FF0000'>%2</t><br/>
<t size='1' font='Bitstream'align='left'>Headshots:</t><t size='1' font='Bitstream'align='right'color='#FF0000'>%6</t><br/>
<t size='1' font='Bitstream'align='left'>Carebears Killed:</t><t size='1' font='Bitstream'align='right'color='#FF0000'>%3</t><br/>
<t size='1' font='Bitstream'align='left'>Assholes Killed:</t><t size='1' font='Bitstream'align='right'color='#FF0000'>%4</t><br/>
<t size='1' font='Bitstream'align='left'>Zombies Killed:</t><t size='1' font='Bitstream'align='right'color='#FF0000'>%5</t><br/>
<t size='1' font='Bitstream'align='left'>FPS: </t><t size='1' font='Bitstream'align='right'color='#FF0000'>%14</t><br/>
<t size='1' font='Bitstream'align='left'>Survived:</t><t size='1' font='Bitstream'align='right'color='#FF0000'>%7 Dayz</t>
<br/>
<br/>
<t size='1' font='Bitstream'align='center'color='#FFFF00'>Restart in %8 minutes!</t>
<br/>
<t size='1' font='Bitstream' align='center'>Use F10 to Toggle</t>
<br/>
",
r_player_blood, //1
round _humanity, //2
_killsH, //3
_killsB, //4
_kills, //5
_headShots, //6
(dayz_Survived), //7
(240-(round(serverTime/60))), //8 change the 180 to suit your server mins for restarts
_pic, //9
_logo, //10
_textCity, //11
count entities "zZombie_Base", //12
{alive _x} count entities "zZombie_Base", //13
diag_fps //14
];
sleep 5;
};
};
[] spawn fnc_debug;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment