Авто текстдрав кликер

asdasd228

Новичок
Автор темы
27
4
Всем привет, помогите найти/написать кликер по 779 текстдраву. При возможности автоматический
 
Решение
Активация/Деактивация /tdc

code:
function main()
    repeat wait(0) until isSampAvailable()
    sampRegisterChatCommand("tdc", function() state = not state
if state then
    sampAddChatMessage("[Clicker]: {008000}ON", -1)
end
if not state then
     sampAddChatMessage("[Clicker]: {FF0000}OFF", -1)
end
    end)
    while true do
        wait(0)
        if state then
                sampSendClickTextdraw(779)
            end
     end
end
Код:

S7XA

Активный
109
70
Активация/Деактивация /tdc

code:
function main()
    repeat wait(0) until isSampAvailable()
    sampRegisterChatCommand("tdc", function() state = not state
if state then
    sampAddChatMessage("[Clicker]: {008000}ON", -1)
end
if not state then
     sampAddChatMessage("[Clicker]: {FF0000}OFF", -1)
end
    end)
    while true do
        wait(0)
        if state then
                sampSendClickTextdraw(779)
            end
     end
end
Код:
 
  • Нравится
Реакции: asdasd228

ARMOR

Go Robot
Модератор
4,994
6,991
Активация/Деактивация /tdc

code:
function main()
    repeat wait(0) until isSampAvailable()
    sampRegisterChatCommand("tdc", function() state = not state
if state then
    sampAddChatMessage("[Clicker]: {008000}ON", -1)
end
if not state then
     sampAddChatMessage("[Clicker]: {FF0000}OFF", -1)
end
    end)
    while true do
        wait(0)
        if state then
                sampSendClickTextdraw(779)
            end
     end
end
Код:
Код топ

Активация/Деактивация /ftd

code:
local enable = false

function main()
    repeat wait(0) until isSampAvaliable()
    sampRegisterChatCommand('ftd' function()
        enable = not enable
        sampAddChatMessage(enable and "[FloodTD]: {FFFFFF} Скрипт активирован!" or "[FloodTD]: {FFFFFF} Скрипт деактивирован!", 0xFF2070)
    end)

    while true do
        wait(0)
        if enable then
            sampSendClickTextDraw(779)
        end
    end
end
 
Последнее редактирование:
  • Нравится
Реакции: asdasd228 и S7XA