clientOwner: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "Killzone Kid" to "Killzone_Kid") |
||
(43 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | |||
{{ | |||
|arma3|= | |game1= arma3 | ||
|version1= 1.56 | |||
| Returns the | |||
|gr1= Multiplayer | |||
| | |descr= Returns the [[Multiplayer_Scripting#Machine_network_ID | machine network ID]] of the client executing the command. | ||
|x1= < | |s1= [[clientOwner]] | ||
|r1= [[Number]] | |||
|x1= <sqf>private _myNetworkId = clientOwner;</sqf> | |||
|seealso= [[owner]] [[groupOwner]] [[onPlayerConnected]] [[onPlayerDisconnected]] [[getClientState]] [[getClientStateNumber]] [[admin]] [[remoteExecutedOwner]] | |||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
< | <dt></dt> | ||
< | <dd class="notedate">Posted on 2016-02-17 - 18:54 (UTC)</dd> | ||
<dd class="notedate">Posted on | <dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt> | ||
<dt class="note">[[User: | |||
<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 the dedicated server this command however works reliably. | 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. | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
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.