isMultiplayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


|p1= |PARAMETER1=  
|p1= |PARAMETER1=  
Line 23: Line 23:
|x1= <pre>if (isMultiplayer) then {
|x1= <pre>if (isMultiplayer) then {
//...block
//...block
}</pre> |= Example 1
}</pre> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:41, 7 April 2019

Hover & click on the images for description

Description

Description:
Return true if multiPlayer.
Groups:
Uncategorised

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