武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
Return true if the machine (executing the command) is a dedicated multiplayer server. In single player returns false.

基本句法

句法:
isDedicated
返回值:
Boolean

范例

范例1:
if (isDedicated) then {diag_log "Dedicated Server on the run !";};

额外资讯

多人游戏:
-
也可以看看:
isServerhasInterface

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Posted on December 21, 2014 - 14:54 (UTC)
Killzone Kid
if (isDedicated) then { //run on dedicated server only }; if (isServer) then { //run on dedicated server or player host }; if (hasInterface) then { //run on all player clients incl. player host }; if (!isDedicated) then { //run on all player clients incl. player host and headless clients }; if (!isServer) then { //run on all player clients incl. headless clients but not player host }; if (!hasInterface) then { //run on headless clients and dedicated server }; if (!hasInterface && !isDedicated) then { //run on headless clients only };
Advertisement