isMultiplayer: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1 = Multiplayer | |gr1 = Multiplayer | ||
| Return true if multiPlayer. | | Return true if multiPlayer. | ||
| '''isMultiplayer''' | | '''isMultiplayer''' | ||
|p1 | |p1= | ||
|p2 | |p2= | ||
|p3 | |p3= | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <pre>if (isMultiplayer) then { | |x1= <pre>if (isMultiplayer) then { | ||
//...block | //...block | ||
}</pre> | }</pre> | ||
| [[isDedicated]], [[isServer]] | | [[isDedicated]], [[isServer]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:40, 18 January 2021
Description
- Description:
- Return true if multiPlayer.
- Groups:
- Multiplayer
Syntax
- Syntax:
- isMultiplayer
- Return Value:
- Boolean
Examples
- Example 1:
if (isMultiplayer) then { //...block }
Additional Information
- See also:
- isDedicatedisServer
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note