Помогите

Danygff

Потрачен
Автор темы
30
1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Вот мой говно код не работает
Говнокодлуа:
require "lib.moonloader"
local vkeys = require "vkeys"
local capture = lua_thread.create_suspended(function ()
    while true do
        sampSendChat("СЮДА ТЕКСТ")
        wait(1000)
    end
end)
local drop = lua_thread.create_suspended(function ()
    while true do
        sampSendChat("СЮДА ТЕКСТ")
        wait(1000)
    end
end)
function main()
    if not isSampfuncsLoaded() or not isSampLoaded() then return end
    while not isSampAvailable() do wait(0) end
    sampAddChatMessage("{FFFFFF}Скрипт для замов/лидавков гетто запущен")
    sampAddChatMessage("{FFFFFF}Авто этого чуда Gustman ")
    sampRegisterChatCommand("capt", capture:run()) -- когда прописуеш /capt то юзается функция capture
    sampRegisterChatCommand("capts", capture:therminate()) -- когда прописуеш /drops то перестает флудить текстом
    sampRegisterChatCommand("drop", drop:run()) -- когда прописуеш /drop то юзается функция drop
    sampRegisterChatCommand("drops", drop:therminate()) -- когда прописуеш /drops то перестает флудить текстом
    while true do
        wait(0)
        if isKeyJustPressed(VK_K) then
            sampSendChat("press f")

    end
    wait(-1)
end
end
 
  • Bug
Реакции: qdIbp