copyToClipboard – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Works If Executed on a Dedicated Server)
 
 
Line 1: Line 1:
== This command will work if executed by the dedicated server in a multiplayer environment. ==
== This command will work if executed by the dedicated server in a multiplayer environment. ==
if (isServer) then {copyToClipboard "Hello world";};
if (isServer) then {copyToClipboard "Hello world";}; Note that clients can still not copy the text, only the machine that is running the server will be able to copy the text.

Latest revision as of 01:16, 18 February 2014

This command will work if executed by the dedicated server in a multiplayer environment.

if (isServer) then {copyToClipboard "Hello world";}; Note that clients can still not copy the text, only the machine that is running the server will be able to copy the text.