script_name("Автоскринер")
script_author("KiddM")
require "lib.moonloader" -- подключение библиотеки
local keys = require "vkeys"
local sampev = require "lib.samp.events"
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
end
end
function sampev.onServerMessage(color, text)
if text:find("Imya_Familiya") then --
lua_thread.create (function ()
wait(1000)
sampSendChat('/time')
wait(1000)
require('memory').setuint8(sampGetBase() + 0x119CBC, 1)
end )
end
end