allUsers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.06 |branch = dev |gr1= Multiplayer |gr2= Object Detection |serverExec= server |descr= Returns a list of getPlayerID | player i...")
 
No edit summary
Line 17: Line 17:
Execute on server: <code>[[private]] _allUserIDs = [[allUsers]];</code>
Execute on server: <code>[[private]] _allUserIDs = [[allUsers]];</code>


|seealso=  [[getUserInfo]], [[allPlayers]], [[allCurators]], [[allGroups]], [[allDead]], [[allUnits]], [[switchableUnits]], [[playableUnits]], [[vehicles]], [[allUnitsUAV]], [[allDeadMen]], [[isPlayer]], [[playersNumber]]
|seealso=  [[getUserInfo]], [[getPlayerID]], [[allPlayers]], [[allCurators]], [[allGroups]], [[allDead]], [[allUnits]], [[switchableUnits]], [[playableUnits]], [[vehicles]], [[allUnitsUAV]], [[allDeadMen]], [[isPlayer]], [[playersNumber]]
}}
}}

Revision as of 13:17, 2 August 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

Description:
Returns a list of player ids of all the users on an MP server.
Groups:
MultiplayerObject Detection

Syntax

Syntax:
allUsers
Return Value:
Array of user network ID Strings (see getPlayerID)

Examples

Example 1:
Execute on server: private _allUserIDs = allUsers;

Additional Information

See also:
getUserInfogetPlayerIDallPlayersallCuratorsallGroupsallDeadallUnitsswitchableUnitsplayableUnitsvehiclesallUnitsUAVallDeadMenisPlayerplayersNumber

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