CopyToClipboard
From Onset Developer Wiki
Description
Copy text to the clipboard. Only works in dev mode.
Syntax
CopyToClipboard(text)
Parameters
- text
The text to copy.
Return Value
- Returns nothing.
Example
AddEvent("OnPackageStart", function()
if IsDevMode() then
CopyToClipboard("text....")
end
end)