- Версия 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