<?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=17093</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=17093&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: восстановление хп».]]></description>
		<lastBuildDate>Tue, 03 May 2022 10:14:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: восстановление хп]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=153030#p153030</link>
			<description><![CDATA[<p><strong>qwercv</strong>, добро пожаловать на форум! Ознакомьтесь, пожалуйста, с <a href="https://forum.script-coding.com/misc.php?action=rules">Правилами</a>, отредактируйте свои посты. Обратите внимание на <a href="https://forum.script-coding.com/misc.php?action=rules#literacy">точки</a> в конце предложений.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 03 May 2022 10:14:31 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=153030#p153030</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: восстановление хп]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=153029#p153029</link>
			<description><![CDATA[<p>Все подобные функции из samp-udf.ahk<br /><strong>__Михаил__</strong></p>]]></description>
			<author><![CDATA[null@example.com (qwercv)]]></author>
			<pubDate>Tue, 03 May 2022 09:16:08 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=153029#p153029</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: восстановление хп]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=153028#p153028</link>
			<description><![CDATA[<p>Откуда взялись функции &#039;GetPlayerHealth&#039;, &#039;SendChat&#039;, &#039;restorelog&#039;? Такого нет в АХК.<br />На форум нужно выкладывать хоть мало-мальски рабочий пример, иначе как его запустить и проверить?</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Tue, 03 May 2022 08:55:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=153028#p153028</guid>
		</item>
		<item>
			<title><![CDATA[AHK: восстановление хп]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=153027#p153027</link>
			<description><![CDATA[<p>Немного накидал скрипт для восстановления ХП при достижении 20%, но он, почему-то, не работает. Помогите разобраться<br /></p><div class="codebox"><pre><code>
loop {
	SendMessage, 0x50,, 0x4190419,, A
	health := GetPlayerHealth()
	if ( health &lt;= 20 )
	{
	SendChat(&quot;/id Ivan_Ivanov&quot;)
	restorelog()
	sleep 100
	FileRead, Str, other\done\chatlog.txt
	StringReplace, Str, Str, `r`n, `n, 1
	StringReplace, Str, Str, `r, `n, 1
	RegExMatch(&quot;`n&quot; Str &quot;`n&quot;, &quot;i).*\n\[\d+:\d+:\d+] (.*) {66CC66}id (\d+)&quot;, result)
	SendChat(&quot;/hp &quot; result2 &quot; 100&quot;)
	
	}
	}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (qwercv)]]></author>
			<pubDate>Tue, 03 May 2022 08:39:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=153027#p153027</guid>
		</item>
	</channel>
</rss>
