<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK. Срабатывание клавиш во время задержки]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=15084</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=15084&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK. Срабатывание клавиш во время задержки».]]></description>
		<lastBuildDate>Thu, 05 Dec 2019 21:54:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK. Срабатывание клавиш во время задержки]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=136769#p136769</link>
			<description><![CDATA[<p>Уважаемые, доброго времени суток!<br />Есть кусок кода:<br /></p><div class="codebox"><pre><code>sc148:: 
SendMessage, 0x50,, 0x4190419,, A
SendInput {vk75}
Sleep 30
SendInput /me взял в руку рацию{Enter}
Sleep 4500
SendInput {vk75}
Sleep 30
SendInput /me говорит в рацию{Enter}
Sleep 1000
SendInput {vk75}
Sleep 30
SendInput Диспетчер, это 9-4-8, клиента забрал, едем по маршруту.
SendInput {Enter}
Return</code></pre></div><p>Во время работы задержки, нажатые клавиши вмешиваются в работу скрипта. Есть ли возможность, написать скрипт так, что бы во время его работы, а именно во время задержи, не учитывались нажатые клавиши на клавиатуре?<br />P.S. код построен немного странно, но это единственный рабочий вариант на MTA, который у меня работает. Без команды Sleep, в игре начинается свистопляска.</p>]]></description>
			<author><![CDATA[null@example.com (JacksonZ)]]></author>
			<pubDate>Thu, 05 Dec 2019 21:54:41 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=136769#p136769</guid>
		</item>
	</channel>
</rss>
