<?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=11844&amp;type=atom" />
	<updated>2016-07-24T11:14:43Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=11844</id>
		<entry>
			<title type="html"><![CDATA[Re: Проверка администраторов только в онлайне [SAMP]]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=106320#p106320" />
			<content type="html"><![CDATA[<p>up</p>]]></content>
			<author>
				<name><![CDATA[texekijim]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34075</uri>
			</author>
			<updated>2016-07-24T11:14:43Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=106320#p106320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Проверка администраторов только в онлайне [SAMP]]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=106310#p106310" />
			<content type="html"><![CDATA[<p>Здравствуйте!Я написал скрипт под нахождение администратора на сервере.Хотелось бы сделать так что-бы выдавал администраторов только в онлайне , ибо ждать пока весь список пройдёт нудно и долго , помогите в этом.<br />Вот код(Задействован SAMP-UDF):<br /></p><div class="codebox"><pre><code>SetWorkingDir %A_ScriptDir%
#Include SAMP.ahk
:?:/checkadm::
{
    showGameText(&quot;~r~checking...&quot;, 500, 4)
    sleep 500
	IniRead, path, settings.ini, main, PathToList, %A_WorkingDir%\Admins.txt
	Loop, read, %path%
	{
		FileReadLine, admin, %path%, %A_Index%
		getPlayerIdByName(admin)
		 if(adminid!=-1)
        {
            showGameText(&quot;~y~found admin&quot;, 1000, 4)
            sendChatMessage(&quot;/id &quot; admin)
            sleep 1200
        }
		
    }
    showGameText(&quot;~g~completed&quot;, 500, 4)
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[texekijim]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34075</uri>
			</author>
			<updated>2016-07-23T23:03:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=106310#p106310</id>
		</entry>
</feed>
