<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Нужна помощь с настройкой по id [SAMP]]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=13090</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13090&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Нужна помощь с настройкой по id [SAMP]».]]></description>
		<lastBuildDate>Tue, 17 Oct 2017 19:37:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Нужна помощь с настройкой по id [SAMP]]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120131#p120131</link>
			<description><![CDATA[<p><strong>12322</strong>, давненько был такой заказик. Пиши в вк если что (в подписи есть).<br /></p><div class="codebox"><pre><code>
!3::
id := getIdByPed(getTargetPed())
if (id != -1 &amp;&amp; id != &quot;&quot;)
	SendChat(&quot;/sellgun deagle 25 4 &quot; id)
return
!4::
id := getId()
if (id != -1 &amp;&amp; id != &quot;&quot;)
	SendChat(&quot;/sellgun deagle 45 4 &quot; id)
return

!2::
SendChat(&quot;/inventory&quot;)
if (CheckOpenDialog())
	return
Send, {ESC}
materials := 0
for k, v in getDialogLines()
{
	if (RegExMatch(v, &quot;^B\s+.*\s+(\d+)$&quot;, out_pars))
	{
		materials := out_pars1
		break
	}
}
if (materials &lt; 500)
{
	sleep, 1100
	SendChat(&quot;/get guns &quot; (500-materials))
	addChatMessageEx(&quot;00FF00&quot;, &quot;Взято {FFFFFF}&quot; (500-materials) &quot;{00FF00} материалов&quot;)
	return
}
addChatMessageEx(&quot;00FF00&quot;, &quot;У вас и так максимальное кол-во материалов&quot;)
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Tue, 17 Oct 2017 19:37:21 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120131#p120131</guid>
		</item>
		<item>
			<title><![CDATA[Re: Нужна помощь с настройкой по id [SAMP]]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120128#p120128</link>
			<description><![CDATA[<p>Для того чтобы примеры вам подбирать нужно сначала инструментами обзавестись. Как пользоваться функциями читайте в справке.</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Tue, 17 Oct 2017 17:58:08 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120128#p120128</guid>
		</item>
		<item>
			<title><![CDATA[Re: Нужна помощь с настройкой по id [SAMP]]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120121#p120121</link>
			<description><![CDATA[<p>пример хотя-бы один пожалуйста</p>]]></description>
			<author><![CDATA[null@example.com (12322)]]></author>
			<pubDate>Tue, 17 Oct 2017 13:33:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120121#p120121</guid>
		</item>
		<item>
			<title><![CDATA[Re: Нужна помощь с настройкой по id [SAMP]]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120120#p120120</link>
			<description><![CDATA[<p>Возможно все кроме get guns. Скрипту изначально неизвестно сколько у вас материалов. Как вариант можно взять 1 материал а потом читать чатлог и узнавать сколько у вас есть. Вам нужен samp udf функция getid() возвращает ваш id.</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Tue, 17 Oct 2017 13:12:41 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120120#p120120</guid>
		</item>
		<item>
			<title><![CDATA[Нужна помощь с настройкой по id [SAMP]]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120119#p120119</link>
			<description><![CDATA[<p>для win 10</p><div class="codebox"><pre><code>numpad1::
Sendinput,{F6}/sellgun deagle 35 4 (вот тут должен быть мой id) {enter}
Return

numpad2::
Sendinput,{F6}/sellgun shotgun 35 4 (вот тут должен быть мой id){enter}
Return

numpad3::
Sendinput,{F6}/sellgun M4 100 20 (вот тут должен быть мой id){enter}
Return

Numpad0::
Sendinput,{F6}/get guns ( нужно что-бы она сама считала сколько нужно для до 500 )
Return

numpad5::
Sendinput,{F6}/usedrugs ( нужно что-бы попалняла до макс. колл. хп, и всегда выберала нужное колл. для использования, если это конечно возможно ) 
Return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (12322)]]></author>
			<pubDate>Tue, 17 Oct 2017 12:20:39 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120119#p120119</guid>
		</item>
	</channel>
</rss>
