<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; SAMP: Расстояние от точки до точки.]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13147&amp;type=atom" />
	<updated>2017-10-30T01:21:56Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=13147</id>
		<entry>
			<title type="html"><![CDATA[Re: SAMP: Расстояние от точки до точки.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120604#p120604" />
			<content type="html"><![CDATA[<p><strong>Phoenixxx_Czar</strong>, спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Coffi]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38848</uri>
			</author>
			<updated>2017-10-30T01:21:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120604#p120604</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SAMP: Расстояние от точки до точки.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120603#p120603" />
			<content type="html"><![CDATA[<p><strong>Coffi</strong>, вроде так:<br /></p><div class="codebox"><pre><code>
X := -2028.203125
Y := -73.225037
Z := 37.511684
addChatMessage(getDist(getCoordinates(), [X, Y, Z]))
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2017-10-30T01:13:59Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120603#p120603</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[SAMP: Расстояние от точки до точки.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120597#p120597" />
			<content type="html"><![CDATA[<p>Всем привет, я недавно скачал самп и хочу сделать для него скрипт, но у меня возникла проблема, при написании кода. У меня стоит инклуд UDF. Я хочу вернуть расстояние между своими координатами и координатами XYZ. Вот мой код:<br /></p><div class="codebox"><pre><code>X := -2028.203125
Y := -73.225037
Z := 37.511684
XYZ := XYZ
addChatMessage(getDist(getCoordinates(), (XYZ)))</code></pre></div><p>Но тут он не возвращает расстояние, а просто выводит &quot;0&quot;. Кто разберается в этом, пожалуйста помогите, заранее спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Coffi]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38848</uri>
			</author>
			<updated>2017-10-29T22:38:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120597#p120597</id>
		</entry>
</feed>
