<?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=13119</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13119&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Проверка, находится ли игрок в транспорте.».]]></description>
		<lastBuildDate>Wed, 25 Oct 2017 14:03:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120411#p120411</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong>, спс тут работает.</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Wed, 25 Oct 2017 14:03:01 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120411#p120411</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120410#p120410</link>
			<description><![CDATA[<p><strong>sanniauto</strong>,<br /></p><div class="codebox"><pre><code>
!1::
ids := getIdsInAnyVehicle()
if (!ids)
	AddChatMessage(&quot;Кроме вас не кого в машине нету.&quot;)
else if (ids == -1)
	AddChatMessage(&quot;Вы не в машине&quot;)
else
{
	for k, v in ids
	{
		addchatmessage(v) ; в v и содержится ид
	}
}
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Wed, 25 Oct 2017 12:25:34 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120410#p120410</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120402#p120402</link>
			<description><![CDATA[<p>Если ты про это,<br /></p><div class="codebox"><pre><code>F5::
Playerids := getIdsInAnyVehicle()
addChatMessage(&quot;id: &quot;(Playerids))
return</code></pre></div><p>то тут не выводит иды игроков.</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Wed, 25 Oct 2017 01:00:35 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120402#p120402</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120401#p120401</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong>, а как вывести значение из массива?</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Wed, 25 Oct 2017 00:59:21 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120401#p120401</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120400#p120400</link>
			<description><![CDATA[<p><strong>sanniauto</strong>, выведи значение из массива.. Шо ты тупишь?</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Wed, 25 Oct 2017 00:47:28 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120400#p120400</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120399#p120399</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong>, ну массив то понятно, но можно ли вывести именно конкретные иды игроков?</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Wed, 25 Oct 2017 00:13:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120399#p120399</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120378#p120378</link>
			<description><![CDATA[<p><strong>sanniauto</strong>, она возвращает массив идов.</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Tue, 24 Oct 2017 15:51:39 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120378#p120378</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120376#p120376</link>
			<description><![CDATA[<p>Прочитайте в справке как работают функции и все поймете.</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Tue, 24 Oct 2017 15:33:16 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120376#p120376</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120374#p120374</link>
			<description><![CDATA[<p>Хотя я не понял какая переменная выводит id всех игроков, если эта - getIdsInAnyVehicle() - то она не выводит.</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Tue, 24 Oct 2017 14:07:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120374#p120374</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120361#p120361</link>
			<description><![CDATA[<p>А всё понял.</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Tue, 24 Oct 2017 05:26:47 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120361#p120361</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120359#p120359</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong>, спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Tue, 24 Oct 2017 04:22:42 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120359#p120359</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120358#p120358</link>
			<description><![CDATA[<p>Выдает все иды кроме твоего.<br /></p><div class="codebox"><pre><code>getIdsInAnyVehicle()
{
	if (isPlayerInAnyVehicle())
	{
		cVeh := readDWORD(hGTA, 0xB79530)
		playerCount := 0
		ids := []
		index := 0
        
		Loop, 8
		{
			playerId := getIdByPed(readDWORD(hGTA, cVeh + (1120 + index)))
			if (playerId != -1)
			{
				playerCount++
				ids.Push(playerId)
			}
            index := 4 * A_Index
		}
		
		if (!playerCount)
			return 0
		return ids
	}
	return -1
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Tue, 24 Oct 2017 04:08:55 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120358#p120358</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Проверка, находится ли игрок в транспорте.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=120357#p120357</link>
			<description><![CDATA[<p><strong>Игра: san andreas multiplayer<br />Язык: AutoHotKey</strong></p><p>Всем привет, мне нужно, чтобы высвечивались имена всех игроков, которые нахотядся на пассажирском сидении в моём транспорте. На нажатие кнопки F2, не подскажете как такое можно сделать?</p>]]></description>
			<author><![CDATA[null@example.com (sanniauto)]]></author>
			<pubDate>Tue, 24 Oct 2017 01:07:36 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=120357#p120357</guid>
		</item>
	</channel>
</rss>
