Arma 3 Scripting

clientOwner

  • Arma 3 v1.56

Command · Markdown · JSON · original wiki page

Description

Returns the machine network ID of the client executing the command.

Syntax

clientOwner

Returns: Number

Examples

Example 1

private _myNetworkId = clientOwner;

See also

owner · groupOwner · onPlayerConnected · onPlayerDisconnected · getClientState · getClientStateNumber · admin · remoteExecutedOwner

Community notes

Killzone_Kid

On hosted server there could be some inconsistency between clientOwner, owner and object creator id, especially in missions started from save. On the dedicated server this command however works reliably.