<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; Не получается]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13905&amp;type=atom" />
	<updated>2018-07-06T16:03:32Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=13905</id>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126746#p126746" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>qqlexa пишет:</cite><blockquote><p><strong>novel10</strong>, Ну так вы весь код покажете, чтобы я знал что есть, а что нет?</p></blockquote></div><p>Проблему решил.</p>]]></content>
			<author>
				<name><![CDATA[novel10]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39306</uri>
			</author>
			<updated>2018-07-06T16:03:32Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126746#p126746</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126728#p126728" />
			<content type="html"><![CDATA[<p><strong>novel10</strong>, Ну так вы весь код покажете, чтобы я знал что есть, а что нет?</p>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-07-06T11:06:20Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126728#p126728</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126726#p126726" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>qqlexa пишет:</cite><blockquote><p><strong>novel10</strong>, Он и не должен работать. Переменная rang пустая. Да и текст не может быть &gt;=</p></blockquote></div><p>Переменная rang есть, на счет текста не знал, спасибо за информацию )</p>]]></content>
			<author>
				<name><![CDATA[novel10]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39306</uri>
			</author>
			<updated>2018-07-06T10:41:06Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126726#p126726</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126715#p126715" />
			<content type="html"><![CDATA[<p><strong>novel10</strong>, Он и не должен работать. Переменная rang пустая. Да и текст не может быть &gt;=</p>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-07-06T00:12:19Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126715#p126715</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126645#p126645" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>qqlexa пишет:</cite><blockquote><p>Скинь свой код, который. </p><div class="quotebox"><blockquote><p>не работает</p></blockquote></div></blockquote></div><div class="codebox"><pre><code>F1::
if rang &gt;= Лейтенант 
{
    SendChat(&quot;/r &quot; rTag &quot; Доклад принял. Продолжайте работу в том же духе.&quot;)
}
else
{
    addchatmessage(&quot;&quot;Функция доступна только для офицерского состава.&quot;)
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[novel10]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39306</uri>
			</author>
			<updated>2018-07-03T08:43:25Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126645#p126645</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126637#p126637" />
			<content type="html"><![CDATA[<p>Скинь свой код, который. </p><div class="quotebox"><blockquote><p>не работает</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-07-02T20:28:11Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126637#p126637</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126625#p126625" />
			<content type="html"><![CDATA[<p>Не знаю есть ли в UDF функция получения твоего ранга, но попробуй так:</p><div class="codebox"><pre><code>
Rang:
InputBox, Rang, Title, Input Rang ; тут человек вводит свой ранг ( минус способа в том, что он может ввести любой XD)
	if (rang &lt; 5) or (rang &gt; 10)
	{
	MsgBox % &quot;Нужно больше 5&quot; ; Заменишь мсгбокс на аддчатмессажд
	goto Rang
	}
Return
</code></pre></div><p>Может быть если поискать, то можно найти функцию, которая бы давала твой ранг, но я хз насчет этого</p>]]></content>
			<author>
				<name><![CDATA[Kinobi 0 in skripti]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38636</uri>
			</author>
			<updated>2018-07-02T17:03:54Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126625#p126625</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126616#p126616" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>qqlexa пишет:</cite><blockquote><div class="codebox"><pre><code>
rang := 10
Ordinary := 1 ; Рядовой
General := 10
; Дописываешь все ранги ...
F1::
if rang = 10 
    SendChat(&quot;/r &quot; rTag &quot; Доклад принял. Продолжайте работу в том же духе.&quot;)
else  addchatmessage(&quot;&quot;Функция доступна только для офицерского состава.&quot;)
return
</code></pre></div></blockquote></div><p>Дописал ранги и всё равно не работает. Нужно сделать так чтобы если ранг равен 5 и больше&nbsp; писало что о принятии доклада, а если меньше 5, то писало что не доступно.</p>]]></content>
			<author>
				<name><![CDATA[novel10]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39306</uri>
			</author>
			<updated>2018-07-02T14:23:18Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126616#p126616</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126612#p126612" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
rang := 10
Ordinary := 1 ; Рядовой
General := 10
; Дописываешь все ранги ...
F1::
if rang = 10 
    SendChat(&quot;/r &quot; rTag &quot; Доклад принял. Продолжайте работу в том же духе.&quot;)
else  addchatmessage(&quot;&quot;Функция доступна только для офицерского состава.&quot;)
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-07-02T13:54:17Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126612#p126612</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Не получается]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=126610#p126610" />
			<content type="html"><![CDATA[<p>Не получается сделать код &quot;Принятие доклада&quot; </p><div class="codebox"><pre><code>
F1::
if rang &gt;= Лейтенант 
{
    SendChat(&quot;/r &quot; rTag &quot; Доклад принял. Продолжайте работу в том же духе.&quot;)
}
else
{
    addchatmessage(&quot;&quot;Функция доступна только для офицерского состава.&quot;)
}
return
</code></pre></div><p>Проблема заключается в том, что при любом раскладе, рядовой ты, или генерал, он всё равно принимает доклад. Что делать ?</p>]]></content>
			<author>
				<name><![CDATA[novel10]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39306</uri>
			</author>
			<updated>2018-07-02T13:41:51Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=126610#p126610</id>
		</entry>
</feed>
