require 'lib.moonloader'
local spawn = '0'
function main()
while not isSampAvailable() and not sampSpawnPlayer() do wait(0) end
spawn = '1'
while true do
wait(0)
if spawn == '1' then
lua_thread.create(function ()
sampSendChat('/newsredak')
wait(60000)
end)
end
end
end