function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('cmd', function()
lua_thread.create(function()
sampAddChatMessage('Ку Ку',-1)
wait(1000)
sampAddChatMessage('Пока Пока',-1)
end)
end)
wait(-1)
end