allUsers: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (Fixed example code) |
||
Line 19: | Line 19: | ||
{ | { | ||
private _allUserIDs = allUsers; | private _allUserIDs = allUsers; | ||
for "_i" from 1 to count _allUserIds do | for "_i" from 1 to (count _allUserIds) do | ||
{ | { | ||
diag_log format ["User #%1 | diag_log format ["User #%1 ID: %2", _i, _allUserIds # (_i - 1)]; | ||
}; | }; | ||
}; | }; |
Revision as of 14:20, 14 December 2022
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, getUserInfo)
Examples
- Example 1:
Additional Information
- See also:
- getUserInfo getPlayerID allPlayers allCurators allGroups allDead allUnits switchableUnits playableUnits vehicles allUnitsUAV allDeadMen isPlayer playersNumber
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