Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ("+str _DMS+") then {
- [] spawn {
- if ("+str _DMW+") then {
- [] spawn {
- while {1 == 1} do
- {
- if (isNil 's_player_debug') then {s_player_debug = -1;};
- if (isNil 'unit_veh') then {unit_veh = vehicle player;};
- if (s_player_debug == -1) then
- {
- s_player_debug = unit_veh addaction [('<t color=''#0066CC''>' + ('Debug') +'</t>'),'ca\modules\MP\data\scriptCommands\moveIn.sqf','Driver ([] spawn fnc_debugX0);',5,false,false,'',''];
- };
- if (unit_veh != vehicle player) then
- {
- unit_veh removeAction s_player_debug;
- unit_veh = nil;
- s_player_debug = -1;
- };
- sleep 1.5;
- };
- };
- };
- fnc_debugX0 = {
- if (isNil 'debugMonitorX') then
- {
- debugMonitorX = true;
- [] spawn fnc_debugX;
- }
- else
- {
- debugMonitorX = !debugMonitorX;
- hintSilent '';
- [] spawn fnc_debugX;
- };
- };
- fnc_debugX = {
- admin_debug_run = false;
- _BottomDebug = "+(str _BottomDebug)+";
- while {debugMonitorX} 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'));};
- _txt = '';
- _txt = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'displayName'));
- _stime = 0;
- if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
- _hours = (_stime/60/60);
- _hours = toArray (str _hours);
- _hours resize 1;
- _hours = toString _hours;
- _hours = compile _hours;
- _hours = call _hours;
- _minutes = floor(_stime/60);
- _minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];};
- hintSilent parseText format [""
- <t size='1' font='Bitstream' align='Center' >[%1]</t><br/>
- <img size='4.75' image='%4'/><br/>
- <t size='1' font='Bitstream' align='left' color='#CC0000'>Blood: </t><t size='1' font='Bitstream' align='right'>%2</t><br/>
- <t size='1' font='Bitstream' align='left' color='#0066CC'>Humanity: </t><t size='1' font='Bitstream' align='right'>%3</t><br/>
- <br/>
- <t size='1' font='Bitstream' align='left' color='#FFBF00'>Zombie Kills: </t><t size='1' font='Bitstream' align='right'>%9</t><br/>
- <t size='1' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='1' font='Bitstream' align='right'>%10</t><br/>
- <t size='1' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='1' font='Bitstream' align='right'>%11</t><br/>
- <br/>
- <t size='1' font='Bitstream' align='left' color='#FFBF00'>UPTIME: </t><t size='1' font='Bitstream' align='right'>%5h %6min</t><br/>
- <t size='1' font='Bitstream' align='left' color='#FFBF00'>FPS: </t><t size='1' font='Bitstream' align='right'>%8</t><br/>
- <t size='1' font='Bitstream' align='Center' color='#CC0000'>%7</t>
- "",
- _txt,
- (r_player_blood),
- round (player getVariable['humanity', 0]),
- _pic,
- _hours,
- _minutes2,
- _BottomDebug,
- (round diag_fps),
- (player getVariable['zombieKills', 0]),
- (player getVariable['humanKills', 0]),
- (player getVariable['banditKills', 0])
- ];
- sleep 1;
- };
- };
- [] spawn fnc_debugX0;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement