Тригер бот

Kareli

Участник
Автор темы
76
6
Версия MoonLoader
.027.0-preview
lua:
    if elements.checkboxes.trige.v then
while true do
    wait(0)
        if isKeyDown(VK_RBUTTON) and not isCharOnAnyBike(playerPed) and not isCharDead(playerPed) then
            local int = readMemory(0xB6F3B8, 4, 0)
            int=int + 0x79C
            local intS = readMemory(int, 4, 0)
                if intS > 0
                then
                local lol = 0xB73458
                lol=lol + 34
                writeMemory(lol, 4, 255, 0)
                wait(100)
                local int = readMemory(0xB6F3B8, 4, 0)
                int=int + 0x79C
                writeMemory(int, 4, 0, 0)
            end
        end
    end
end
включаешь всё ок но потом не выключаеться
 
Решение
Код:
while true do
    wait(0)
    if elements.checkboxes.trige.v then
        if isKeyDown(VK_RBUTTON) and not isCharOnAnyBike(playerPed) and not isCharDead(playerPed) then
            local int = readMemory(0xB6F3B8, 4, 0)
            int=int + 0x79C
            local intS = readMemory(int, 4, 0)
                if intS > 0
                then
                local lol = 0xB73458
                lol=lol + 34
                writeMemory(lol, 4, 255, 0)
                wait(100)
                local int = readMemory(0xB6F3B8, 4, 0)
                int=int + 0x79C
                writeMemory(int, 4, 0, 0)
            end
        end
    end
end

7jizzle

Участник
238
16
Код:
while true do
    wait(0)
    if elements.checkboxes.trige.v then
        if isKeyDown(VK_RBUTTON) and not isCharOnAnyBike(playerPed) and not isCharDead(playerPed) then
            local int = readMemory(0xB6F3B8, 4, 0)
            int=int + 0x79C
            local intS = readMemory(int, 4, 0)
                if intS > 0
                then
                local lol = 0xB73458
                lol=lol + 34
                writeMemory(lol, 4, 255, 0)
                wait(100)
                local int = readMemory(0xB6F3B8, 4, 0)
                int=int + 0x79C
                writeMemory(int, 4, 0, 0)
            end
        end
    end
end
 
  • Нравится
Реакции: Kareli