<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gameaslife.Ru - Все для CS 1.6  и CS:GO</title>
		<link>http://gameaslife.do.am/</link>
		<description>Gameaslife.Ru - Игровой форум</description>
		<lastBuildDate>Fri, 27 Feb 2015 10:30:25 GMT</lastBuildDate>
		<generator>uCoz Web-Service</generator>
		<atom:link href="https://gameaslife.do.am/forum/rss" rel="self" type="application/rss+xml" />
		
		<item>
			<title>Описание модуля HamSandwich.</title>
			<link>https://gameaslife.do.am/forum/37-39-1</link>
			<pubDate>Fri, 27 Feb 2015 10:30:25 GMT</pubDate>
			<description>Форум: &lt;a href=&quot;https://gameaslife.do.am/forum/37&quot;&gt;Модуль Hamsandwich&lt;/a&gt;&lt;br /&gt;Автор темы: k1st&lt;br /&gt;Автор последнего сообщения: shine&lt;br /&gt;Количество ответов: 0</description>
			<content:encoded>Модуль &lt;b&gt;HamSandwich&lt;/b&gt; незаменимый модуль.С помощью данного модуля можно отловить события происходящие на сервере,если бы не существовало данного модуля,то вряд ли были такие плагины как: statsx и ему подобные. &lt;br /&gt; У данного модуля есть 2 инклуда: &lt;br /&gt; &lt;b&gt;hamsandwich.inc&lt;/b&gt; - Содержит native функции &lt;br /&gt; &lt;b&gt;ham_const.inc&lt;/b&gt; - Содержит константы, связанные с собственными функциями &lt;br /&gt;&lt;br /&gt; &lt;!--uSpoiler--&gt;&lt;div class=&quot;uSpoilerClosed&quot; id=&quot;uSpoilerRtWzcg&quot;&gt;&lt;div class=&quot;uSpoilerButBl&quot;&gt;&lt;input type=&quot;button&quot; class=&quot;uSpoilerButton&quot; onclick=&quot;if($(&apos;#uSpoilerRtWzcg&apos;)[0]){if ($(&apos;.uSpoilerText&apos;,$(&apos;#uSpoilerRtWzcg&apos;))[0].style.display==&apos;none&apos;){$(&apos;.uSpoilerText&apos;,$(&apos;#uSpoilerRtWzcg&apos;))[0].style.display=&apos;&apos;;$(&apos;.uSpoilerButton&apos;,$(&apos;#uSpoilerRtWzcg&apos;)).val(&apos;[&amp;#92;&amp;#8211;] Рассмотрим пример использования данного модуля&apos;);$(&apos;#uSpoilerRtWzcg&apos;).attr(&apos;class&apos;,&apos;uSpoilerOpened&apos;);}else {$(&apos;.uSpoilerText&apos;,$(&apos;#uSpoilerRtWzcg&apos;))[0].style.display=&apos;none&apos;;$(&apos;.uSpoilerButton&apos;,$(&apos;#uSpoilerRtWzcg&apos;)).val(&apos;[+] Рассмотрим пример использования данного модуля&apos;);$(&apos;#uSpoilerRtWzcg&apos;).attr(&apos;class&apos;,&apos;uSpoilerClosed&apos;);}}&quot; value=&quot;[+] Рассмотрим пример использования данного модуля&quot;/&gt;&lt;/div&gt;&lt;div class=&quot;uSpoilerText&quot; style=&quot;display:none;&quot;&gt;&lt;!--ust--&gt;&lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Код&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;#include &lt;amxmodx&gt; &lt;br /&gt; #include &lt;fakemeta&gt; &lt;br /&gt; #include &lt;hamsandwich&gt; &lt;br /&gt;&lt;br /&gt; #define PLUGIN &quot;Block bomb planting&quot; &lt;br /&gt; #define VERSION &quot;1.0&quot; &lt;br /&gt; #define AUTHOR &quot;Unknown&quot; &lt;br /&gt;&lt;br /&gt; public plugin_init(&amp;#41; &lt;br /&gt; { &lt;br /&gt; register_plugin(PLUGIN, VERSION, AUTHOR&amp;#41;; &lt;br /&gt;&lt;br /&gt; RegisterHam(Ham_Weapon_PrimaryAttack, &quot;weapon_c4&quot;, &quot;block_attack&quot;&amp;#41;; &lt;br /&gt; } &lt;br /&gt; public block_attack(weapon&amp;#41; &lt;br /&gt; { &lt;br /&gt; new id = pev(weapon, pev_owner&amp;#41;; &lt;br /&gt; client_print(id, print_chat, &quot;Установка бомбы заблокирована&quot;&amp;#41;; &lt;br /&gt; return HAM_SUPERCEDE; &lt;br /&gt; }&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;&lt;!--/ust--&gt;&lt;!--usn(=Рассмотрим пример использования данного модуля)--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uSpoiler--&gt; &lt;br /&gt;&lt;br /&gt; В данном примере мы заблокировали установку бомбы. &lt;br /&gt; Отлов установки бомбы выполняет данная функция: &lt;br /&gt; &lt;!--uzcode--&gt;&lt;div class=&quot;bbCodeBlock&quot;&gt;&lt;div class=&quot;bbCodeName&quot; style=&quot;padding-left:5px;font-weight:bold;font-size:7pt&quot;&gt;Код&lt;/div&gt;&lt;div class=&quot;codeMessage&quot; style=&quot;border:1px inset;max-height:200px;overflow:auto;height:expression(this.scrollHeight&lt;5?this.style.height:scrollHeight&gt;200?&apos;200px&apos;:&apos;&apos;+(this.scrollHeight+5)+&apos;px&apos;);&quot;&gt;&lt;!--uzc--&gt;RegisterHam(Ham_Weapon_PrimaryAttack, &quot;weapon_c4&quot;, &quot;block_attack&quot;&amp;#41;;&lt;!--/uzc--&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--/uzcode--&gt;</content:encoded>
			<category>Модуль Hamsandwich</category>
			<dc:creator>k1st</dc:creator>
			<guid>https://gameaslife.do.am/forum/37-39-1</guid>
		</item>
	</channel>
</rss>