Вопрос

G W

Участник
Автор темы
141
5
Версия MoonLoader
.026-beta
Как сделать чтобы ответ не сразу отправлялся, а чтобы я сам мог отправлять его. Как в это ролике:
Lua:
local hook = require 'lib.samp.events'
function main()
    if not isSampfuncsLoaded() or not isSampLoaded() then return end
    while not isSampAvailable() do wait(100) end

end
function hook.onServerMessage(color, text)
    if text:find("Жалоба от игрока .*%[(%d+)%]: (.*)") then
        local id, t = text:match("Жалоба от игрока .*%[(%d+)%]: (.*)")
        if t == 'Тест' then sampSendChat("/ans "..id.." test") end
    end