点击图片可看到更多讯息
开始使用于
- 游戏:
- Arma 2
- 版本:
- 1.00
描述
- 描述:
- Return true if the machine (executing the command) is a dedicated multiplayer server. In single player returns false.
基本句法
- 句法:
- isDedicated
- 返回值:
- Boolean
范例
额外资讯
- 多人游戏:
- -
- 也可以看看:
- isServerhasInterface
注意事项
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 };