copyToClipboard – Talk

From Bohemia Interactive Community
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.