getPlayerCloudId

From Bohemia Interactive Community
Revision as of 18:16, 7 December 2023 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Return the provided player's unique Cloud service account id.
Multiplayer:
Only works in multiplayer and on official servers.
Groups:
Argo

Syntax

Syntax:
getPlayerCloudId unit
Parameters:
unit: Object - the player unit from whom to obtain the Cloud ID
Return Value:
String - the Cloud ID or empty string if in single player or if unit is not a live player unit

Examples

Example 1:
_localPlayerCloudID = getPlayerCloudId player; _remotePlayerCloudID = getPlayerCloudId _otherPlayer; _emptyString = getPlayerCloudId objNull;

Additional Information

See also:
getPlayerUID getPlayerUIDOld

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