isMultiplayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
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|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1 = Multiplayer |GROUP1=
|gr1 = Multiplayer






| Return true if multiPlayer. |DESCRIPTION=
| Return true if multiPlayer.


| '''isMultiplayer''' |SYNTAX=
| '''isMultiplayer'''


|p1= |PARAMETER1=  
|p1=


|p2= |PARAMETER2=  
|p2=


|p3= |PARAMETER3=  
|p3=


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]




|x1= <pre>if (isMultiplayer) then {
|x1= <pre>if (isMultiplayer) then {
//...block
//...block
}</pre> |EXAMPLE1=
}</pre>




| [[isDedicated]], [[isServer]] |SEEALSO=
| [[isDedicated]], [[isServer]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 00:40, 18 January 2021

Hover & click on the images for description

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

Notes

Bottom Section