getUserInfo

From Bohemia Interactive Community
Revision as of 14:32, 2 August 2021 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.06 |branch = dev |gr1= Multiplayer |gr2= Object Detection |serverExec= server |descr= Returns extended information about given s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 extended information about given server user.
Groups:
MultiplayerObject Detection

Syntax

Syntax:
getUserInfo networkID
Parameters:
networkID : String - user network id (see getPlayerID, allUsers)
Return Value:
Array in format: [networkId, owner, playerUID, soldierName, soldierNameInclSquad, steamProfileName, clientStateNumber, isHeadless, adminState, [avgPing, avgBandwidth, desync], playerObject], where:

Examples

Example 1:
Execute on server: private _randomUserInfo = getUserInfo selectRandom allUsers;

Additional Information

See also:
allUsersgetPlayerID

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