clientOwner: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "Killzone Kid" to "Killzone_Kid") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>private _myNetworkId = clientOwner;</sqf> | ||
|seealso= [[owner]] [[groupOwner]] [[onPlayerConnected]] [[onPlayerDisconnected]] [[getClientState]] [[getClientStateNumber]] | |seealso= [[owner]] [[groupOwner]] [[onPlayerConnected]] [[onPlayerDisconnected]] [[getClientState]] [[getClientStateNumber]] [[admin]] [[remoteExecutedOwner]] | ||
}} | }} | ||
Line 22: | Line 22: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2016-02-17 - 18:54 (UTC)</dd> | ||
<dt class="note">[[User: | <dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
On hosted server there could be some inconsistency between [[clientOwner]], [[owner]] and object creator id, especially in missions started from save. | On hosted server there could be some inconsistency between [[clientOwner]], [[owner]] and object creator id, especially in missions started from save. |
Latest revision as of 13:48, 12 March 2024
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 2016-02-17 - 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.