Arizona Крашер/Автовыход

Gerkuleska

Известный
Автор темы
128
10
Ищу автовыход при отправки диалогового окна от администратора
 

verdis

Участник
44
3
1 вариант (определенные фразы от админа = Краш)
Взял от сюда - тут
Lua:
local sampev = require('lib.samp.events')

function sampev.onShowDialog(id, style, title, button1, button2, text)
    if text:match("Вы тут?") or text:match("Вы тут") or text:match("Вы здесь") or text:match("тyт") or text:match("Вы за компьютером ?") or text:match("Вы за компьютером") or text:match("тут") or text:match("здесь") or text:match("Вы здесь?") or text:match("вы тут?") or text:match("вы тут") or text:match("вы здесь") or text:match("вы здесь?") or text:match("вы бот?")  or text:match("вы бот") or text:match("Вы бот?") or text:match("ответ в чат") or text:match("ответ в /b") or text:match("ответ в /n") or text:match("Вы на месте?") or text:match("Вы афк?") then
        callFunction(0x823BDB , 3, 3, 0, 0, 0)
        -- crash()
    end
end
--[[
function crash()
  while true do
  end
end
]]
2 вариант ( вообще если написали в пм краш будет )
Взял от сюда - Тут
Lua:
local sampev = require('lib.samp.events')

function sampev.onShowDialog(id, style, title, button1, button2, text)
    if text:find("Администратор .* ответил вам") then
        callFunction(0x823BDB , 3, 3, 0, 0, 0)
    end
end

function sampev.onServerMessage(clr, text)
    if text:find("Администратор .* ответил вам") then
        callFunction(0x823BDB , 3, 3, 0, 0, 0)
    end
end