该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
客户端PBO文件夹里 新建custom_monitor.sqf文件
内写入:
if (isNil "custom_monitor") then {custom_monitor = true;} else {custom_monitor = !custom_monitor;};
while {custom_monitor} 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 ["
ourGame
Survived %1 Days
Players Online: %2
Murders: %3
Bandits Killed: %4
Zombies Killed: %5
Humanity: %6
Blood: %7
FPS: %8
YY:18520275
Restart in %10 Minutes
",
(dayz_Survived),
(count playableUnits),
(player getVariable['humanKills', 0]),
(player getVariable['banditKills', 0]),
(player getVariable['zombieKills', 0]),
(player getVariable['humanity', 0]),
r_player_blood,
(round diag_fps),
_pic,
(round(240-(serverTime) / 60))
];
sleep 1;
};
在init.sqf文件最低端加入:[] execVM "custom_monitor.sqf";