{"name":"owner","operator":null,"title":"owner","type":"command","url":"https://community.bistudio.com/wiki/owner","revid":363241,"updated":"2024-03-26T10:51:18Z","groups":["Multiplayer"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":null,"server_exec":true},"exec":null,"description":"On server machine, returns the machine network ID of the client to which the object is local. Otherwise returns 0. For use on clients clientOwner command is available. To find out the owner of a Group, use groupOwner.","syntaxes":[{"syntax":"owner object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"Number"},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}}],"examples":[{"text":"```sqf\n_clientID = owner _someobject;\n```","code":["_clientID = owner _someobject;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["publicVariableClient","setOwner","setGroupOwner","groupOwner","flagOwner","onPlayerConnected","didJIPOwner","local","admin","remoteExecutedOwner"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Multiplayer","Introduced with Arma 2 version 1.00","Scripting Commands","Scripting Commands: Server Execution","Take On Helicopters: Scripting Commands"]}