Помогите со скриптом (скрипт не грузит)

vc2lazarev

Активный
Автор темы
283
36
Всем привет. Поставил скрипт. Срет еррор в 479 строке . Там начинается данный код код Помогите .
функция:
function main()
  if not isSampfuncsLoaded() or not isSampLoaded() then return end
  while not isSampAvailable() do wait(100) end
  sampRegisterChatCommand(tostring(HLcfg.main.activation), function() main_window_state.v = not main_window_state.v end)
  notf.addNotification('Активация: /' ..HLcfg.main.activation, 5, 1)
  notf.addNotification('Скрипт успешно загружен! Текущая версия: ' ..version, 5, 1)
  sampAddChatMessage('{ffff00}[Хелпер Ловли] {ffffff}by Leo_Masker for {20B2AA}J Family {ffff00}| {ffffff}Версия: '..version, -1)
  while true do wait(0)
    keybuff.v = string.upper(keybuff.v)
    if wasKeyPressed(vkeys.name_to_id(keybuff.v, false)) and HLcfg.main.onkey and not sampIsChatInputActive() and not sampIsDialogActive() then showCaptcha() end
    local result, button, list, input = sampHasDialogRespond(8812)
    if result then
      if button == 1 then
        if input == captcha..'0' then sampAddChatMessage(string.format('{ffff00}[Хелпер ловли] {ffffff}Код верный [%.3f]', os.clock() - captime), -1)
        elseif input ~= captcha..'0' then sampAddChatMessage(string.format('{ffff00}[Хелпер ловли] {ffffff}Неверный код! [%.3f] ('..captcha..'0|'..input..')', os.clock() - captime), -1) end
      end
      removeTextdraws()
    end
 

Вложения

  • helperlovli.lua
    32.4 KB · Просмотры: 5

Митя Евгеньевич

Известный
303
124
if bNotf then
notf.addNotification('Активация: /'..HLcfg.main.activation, 5, 1)
notf.addNotification('Скрипт успешно загружен! Текущая версия: '..version, 5, 1) end
1661094137639.png
 

vc2lazarev

Активный
Автор темы
283
36