Modules
Client
Clipboard

Clipboard

lib.setClipboard

Sets the player's clipboard to the specified string value.

💡

Will not work if focus is already taken by some NUI component.

💡

To create a new line use \t\n not just \n in your string.

lib.setClipboard(value)
  • value: string