getClientStateNumber: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 43: Line 43:
| [[getClientStateNumber]]
| [[getClientStateNumber]]


| [[Number]] - Client state (see table above)
|r1=[[Number]] - Client state (see table above)


|x1= <code>_state = [[getClientStateNumber]];</code>
|x1= <code>_state = [[getClientStateNumber]];</code>

Revision as of 20:46, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Multiplayer

Syntax

Syntax:
Syntax needed
Return Value:
Number - Client state (see table above)

Examples

Example 1:
_state = getClientStateNumber;
Example 2:
_inGame = getClientStateNumber > 8;

Additional Information

See also:
getClientStategetPlayerUID

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