Скрипт на нарко

psychxria

Известный
Автор темы
980
203
Ищу скрипт чтоб 3 нарко юзалось и после юзанье сразу же ещё узалось и так по кд юзалось пока я не остановлю

160 хп хочу прокачать
 
Решение
/adrugs
Lua:
local active = false

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    sampRegisterChatCommand('adrugs', function()
        active = not active
        if active then
            sampAddChatMessage("on", -1)
        else
            sampAddChatMessage("off", -1)
        end
    end)
  
    while true do
      wait(500)
    
    if active then
    sampSendChat('/usedrugs 3')
  
        end
    end
end

barjik

Известный
459
191
/adrugs
Lua:
local active = false

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    sampRegisterChatCommand('adrugs', function()
        active = not active
        if active then
            sampAddChatMessage("on", -1)
        else
            sampAddChatMessage("off", -1)
        end
    end)
  
    while true do
      wait(500)
    
    if active then
    sampSendChat('/usedrugs 3')
  
        end
    end
end
 

Вложения

  • adrugs.lua
    389 байт · Просмотры: 7
  • Нравится
Реакции: pulseq и psychxria