Как вставить свой текст перед getClipboardText()?

refund

Новичок
Автор темы
11
0
Версия MoonLoader
.026-beta
Код:
require "lib.moonloader"
require "lib.sampfuncs"
local rkeys = require 'rkeys'


function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampAddChatMessage('работает')
while true do
    wait(0)
        if isKeyJustPressed(101) then
        sampSetChatInputEnabled(true)
        sampSetChatInputText(getClipboardText())
    end
end
end