clientOwner: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[private\]\] _([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>private _$1 = $2;</sqf>") |
||
Line 12: | Line 12: | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>private _myNetworkId = clientOwner;</sqf> | ||
|seealso= [[owner]] [[groupOwner]] [[onPlayerConnected]] [[onPlayerDisconnected]] [[getClientState]] [[getClientStateNumber]] [[admin]] [[remoteExecutedOwner]] | |seealso= [[owner]] [[groupOwner]] [[onPlayerConnected]] [[onPlayerDisconnected]] [[getClientState]] [[getClientStateNumber]] [[admin]] [[remoteExecutedOwner]] |
Revision as of 21:22, 7 May 2022
Description
- Description:
- Returns the machine network ID of the client executing the command.
- Groups:
- Multiplayer
Syntax
- Syntax:
- clientOwner
- Return Value:
- Number
Examples
- Example 1:
Additional Information
- See also:
- owner groupOwner onPlayerConnected onPlayerDisconnected getClientState getClientStateNumber admin remoteExecutedOwner
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
- Posted on February 17, 2016 - 18:54 (UTC)
- 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.