Client

copytoclipboard

fjsf.copytoclipboard(text)

Copies the provided text into the system clipboard.


Arguments

Argument
Type
Description

text

string

Text that will be copied


Example – Copy coordinates

local coords = GetEntityCoords(PlayerPedId())
fjsf.copytoclipboard(
    string.format("vector3(%.2f, %.2f, %.2f)", coords.x, coords.y, coords.z)
)

Last updated