ep服务器制作,【ep服务器建设】:设置显示各参数面板

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

d7e88ea76b1212815df20f328fe1c77f.png

客户端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";

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值