/* Author: Aaron Clark - EpochMod.com Contributors: Description: Epoch debug monitor Licence: Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike Github: https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/compile/EPOCH_debugMonitor.sqf */ private["_hours"]; _hours = floor(servertime/60/60); _customVars = ""; { if !(_x in ["AliveTime","SpawnArray","HitPoints"]) then { _customVars = _customVars + format["%1: %2
", _x,missionNamespace getVariable [format ["EPOCH_player%1",_x],EPOCH_defaultVars select _forEachIndex]]; } }forEach EPOCH_customVars; hintSilent parseText format [" Welcome to Epoch Alpha
Current Version: %1
" + _customVars + "
Fatigue: %2
Damage: %3
Bleeding: %4
Bleed Time: %5
Oxygen: %6

Air Temp: %7
Water Temp: %8
Rain: %9
Overcast: %10

Hours Alive: %11
FPS: %12
Server uptime: %13h %14m
Server FPS: %15
", getText(configFile >> "CfgMods" >> "Epoch" >> "version"), (getFatigue player), (damage player), (isBleeding player), (getBleedingRemaining player), (getOxygenRemaining player), EPOCH_CURRENT_WEATHER, (EPOCH_CURRENT_WEATHER/2), rain, overcast, round(EPOCH_playerAliveTime/360)/10, round diag_fps, _hours, round((serverTime/60)-(_hours*60)), if (typeName EPOCH_diag_fps == "SCALAR") then [{EPOCH_diag_fps},{"MANIPULATED"}] ];