луа биндер

  • Автор темы Удалённый пользователь 111847
  • Дата начала
Статус
В этой теме нельзя размещать новые ответы.

itsLegend

Фонд борьбы за жуков 🐞
Администратор
2,696
1,463
Lua:
script_name("F-binder")

require "lib.moonloader" -- VK_F

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end

    while not isSampAvailable() do
        wait(0)
    end

    while true do
        wait(0)

        if isKeyJustPressed(VK_F) then
            sampSendChat("/healme")
            -- wait(500)
            sampSendChat("/reset")
            -- wait(700)
            sampSendChat("/w 1123113123131313")
        end
    end
end
 
Последнее редактирование:

serhiyrubin

Известный
396
106
Код:
script_name("F-binder")

require "lib.moonloader" -- VK_F

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end

    while not isSampAvailable() do
        wait(0)
    end

    function main()
        wait(0)

        if isKeyJustPressed(VK_F) then
            sampSendChat("/healme")
            -- wait(500)
            sampSendChat("/reset")
            -- wait(700)
            sampSendChat("/w 1123113123131313")
        end
                if isKeyJustPressed(VK_G) then
            sampSendChat("/healme")
            -- wait(500)
            sampSendChat("/reset")
            -- wait(700)
            sampSendChat("/w 1123113123131313")
        end
    end
end

А если так то будет 2 бинда?
 

im0rg

Известный
Друг
587
215
Код:
script_name("F-binder")

require "lib.moonloader" -- VK_F

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end

    while not isSampAvailable() do
        wait(0)
    end

    function main()
        wait(0)

        if isKeyJustPressed(VK_F) then
            sampSendChat("/healme")
            -- wait(500)
            sampSendChat("/reset")
            -- wait(700)
            sampSendChat("/w 1123113123131313")
        end
                if isKeyJustPressed(VK_G) then
            sampSendChat("/healme")
            -- wait(500)
            sampSendChat("/reset")
            -- wait(700)
            sampSendChat("/w 1123113123131313")
        end
    end
end

А если так то будет 2 бинда?
Да
 
  • Нравится
Реакции: serhiyrubin

im0rg

Известный
Друг
587
215
Код:
-- wait(500)
P.S. Это закомментированая задержка. Если нужна задержка убери --
 
  • Нравится
Реакции: serhiyrubin

serhiyrubin

Известный
396
106
При запущенной ГТА можно удалить скрипты из ГТА чтобы не палить при проверке от админов?
Кто то проверял?
 
Статус
В этой теме нельзя размещать новые ответы.