- 29
- 0
- Версия MoonLoader
- .026-beta
Все на что ума хватило вот)
Код:
script_name("timer ab")
require 'moonloader'
local sampev = require "lib.samp.events"
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampAddChatMessage("helper ab loaded", -1)
while true do
wait(0)
if time then
setTimeOfDay(time, 0)
end
end
end
function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
if title:find("Технический паспорт транспорта") then
sampAddChatMessage("вы открыли диалог с покупкой авто", -1)
return false
end
end
end