<?xml version="1.0" encoding="utf-8"?>
<!-- Generated on Fri, 05 Jun 2026 13:30:07 +0200 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>GMod-Fan Inc. - Форум</title>
    <link>https://gmod-fan.com/forum/problems/topic-1592.html</link>
    <description>Последние ответы в теме: Lua проблема(полезно)</description>
    <generator>LogicBoard</generator>
    <item>
      <title>Lua проблема(полезно)</title>
      <description><![CDATA[Объясню понятней , для новичка:<br /><!-- PHP code --><div class="php" style="font: normal normal 90% monospace; color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;"><div style="font-family: sans-serif; color: #808080; font-size: 70%; font-weight: bold; background-color: #f0f0ff; border-bottom: 1px solid #d0d0d0; padding: 2px;">php code:</div><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> CLIENT <span style="color: #009900;">&#41;</span> then</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Author &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Автор&quot;</span> &nbsp; </div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Contact &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Контакт&quot;</span> &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Purpose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Заметки&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Instructions &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Инструкции&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>PrintName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Печатное имя&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Slot &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span> &nbsp; &nbsp;<span style="color: #339933;">-</span> Это место в списке оружия</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>SlotPos &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span> &nbsp;<span style="color: #339933;">-</span> позиция в списке оружия</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>IconLetter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;b&quot;</span> &nbsp;<span style="color: #339933;">-</span> название иконки </div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; killicon<span style="color: #339933;">.</span>AddFont<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;cse_ak47&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;CSKillIcons&quot;</span><span style="color: #339933;">,</span>SWEP<span style="color: #339933;">.</span>IconLetter<span style="color: #339933;">,</span>Color<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">80</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">255</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #990000;">end</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> SERVER <span style="color: #009900;">&#41;</span> then</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddCSLuaFile<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;shared.lua&quot;</span> <span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #990000;">end</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Base &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;cse_base_as&quot;</span> &nbsp; <span style="color: #339933;">-</span> база <span style="color: #009900;">&#40;</span>это отдельно <span style="color: #339933;">,</span> можно и без неё <span style="color: #339933;">,</span> просто удали строчку<span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Spawnable &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span> &nbsp; </div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>AdminSpawnable &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>ViewModel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Путь к модели&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>WorldModel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Путь к модели&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>HoldType <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;ar2&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Weight &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span> &nbsp;<span style="color: #339933;">-</span> вес</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>AutoSwitchTo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>AutoSwitchFrom &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Sound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> Sound<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Weapon_AK47.Single&quot;</span><span style="color: #009900;">&#41;</span> &nbsp; <span style="color: #339933;">-</span> звук <span style="color: #009900;">&#40;</span> укажи путь например weapons<span style="color: #339933;">/</span>clen<span style="color: #339933;">.</span>mp3</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Recoil &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span> &nbsp; <span style="color: #339933;">-</span>отдача</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Unrecoil &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">7</span> <span style="color: #339933;">-</span> антиотдача</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Damage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">17</span> &nbsp; <span style="color: #339933;">-</span> урон </div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>NumShots &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span> &nbsp; &nbsp; <span style="color: #339933;">-</span> количество патронов <span style="color: #009900;">&#40;</span> к примеру у дробовика от <span style="color: #cc66cc;">5</span> у выше<span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Cone &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color:#800080;">0.035</span> &nbsp; <span style="color: #339933;">-</span> конус<span style="color: #009900;">&#40;</span>можно строчку удалить<span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>ClipSize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">801</span> </div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Delay &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color:#800080;">0.06</span> <span style="color: #666666; font-style: italic;">//Don't use this, use the tables below!</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>DefaultClip &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #cc66cc;">3201</span> <span style="color: #666666; font-style: italic;">//Always set this 1 higher than what you want.</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Automatic &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #666666; font-style: italic;">//Don't use this, use the tables below!</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Ammo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;smg1&quot;</span> &nbsp; <span style="color: #339933;">-</span> тип патронов </div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>ClipSize &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">-</span> это блефовые <span style="color: #cc66cc;">4</span><span style="color: #339933;">-</span>ре строчки <span style="color: #339933;">,</span> их оставь без изменений<span style="color: #009900;">&#40;</span>такой код просто вообще такого быть не должно<span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>DefaultClip &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>Automatic &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>Ammo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;none&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//Firemode configuration</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>IronSightsPos <span style="color: #339933;">=</span> Vector<span style="color: #009900;">&#40;</span><span style="color:#800080;">6.02</span><span style="color: #339933;">,-</span><span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span><span style="color:#800080;">2.3</span><span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>IronSightsAng <span style="color: #339933;">=</span> Vector<span style="color: #009900;">&#40;</span><span style="color:#800080;">2.5</span><span style="color: #339933;">,-</span><span style="color:#800080;">.21</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>mode <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;auto&quot;</span> <span style="color: #666666; font-style: italic;">//The starting firemode</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>newclip <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #666666; font-style: italic;">//Do not change this</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi<span style="color: #339933;">.</span>Delay <span style="color: #339933;">=</span> <span style="color:#800080;">.09</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi<span style="color: #339933;">.</span>Cone <span style="color: #339933;">=</span> <span style="color:#800080;">0.012</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi<span style="color: #339933;">.</span>ConeZoom <span style="color: #339933;">=</span> <span style="color:#800080;">0.008</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto<span style="color: #339933;">.</span>Delay <span style="color: #339933;">=</span> <span style="color:#800080;">.09</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto<span style="color: #339933;">.</span>Cone <span style="color: #339933;">=</span> <span style="color:#800080;">0.008</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto<span style="color: #339933;">.</span>ConeZoom <span style="color: #339933;">=</span> <span style="color:#800080;">0.006</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//End of configuration</span></div></li>
</ol></div><!--/PHP code --><br /><br />Удачи тебе <img class='smiles_img' src='https://gmod-fan.com/forum/templates/Adaptive/bbcode/smiles/024.gif' />]]></description>
      <link>https://gmod-fan.com/forum/problems/last/topic-1592.html</link>
      <pubDate>Wed, 13 Feb 2013 18:09:19 +0100</pubDate>
      <author>Alexander.S.V.</author>
      <guid isPermaLink="true"><![CDATA[https://gmod-fan.com/forum/problems/last/topic-1592.html]]></guid>
    </item>
    <item>
      <title>Lua проблема(полезно)</title>
      <description><![CDATA[<!-- PHP code --><div class="php" style="font: normal normal 90% monospace; color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;"><div style="font-family: sans-serif; color: #808080; font-size: 70%; font-weight: bold; background-color: #f0f0ff; border-bottom: 1px solid #d0d0d0; padding: 2px;">php code:</div><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> CLIENT <span style="color: #009900;">&#41;</span> then</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Author &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;CSE - Night-Eagle&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Contact &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;gmail sedhdi&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Purpose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Instructions &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>PrintName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;CSE AK47&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Instructions &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Hold use and right-click to change firemodes.&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Slot &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>SlotPos &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>IconLetter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;b&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; killicon<span style="color: #339933;">.</span>AddFont<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;cse_ak47&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;CSKillIcons&quot;</span><span style="color: #339933;">,</span>SWEP<span style="color: #339933;">.</span>IconLetter<span style="color: #339933;">,</span>Color<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">80</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">255</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #990000;">end</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> SERVER <span style="color: #009900;">&#41;</span> then</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddCSLuaFile<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;shared.lua&quot;</span> <span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #990000;">end</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Base &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;cse_base_as&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Spawnable &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>AdminSpawnable &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>ViewModel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;models/weapons/v_rif_ak47.mdl&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>WorldModel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;models/weapons/w_rif_ak47.mdl&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>HoldType <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;ar2&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Weight &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>AutoSwitchTo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>AutoSwitchFrom &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Sound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> Sound<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Weapon_AK47.Single&quot;</span><span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Recoil &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Unrecoil &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">7</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Damage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">17</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>NumShots &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Cone &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color:#800080;">0.035</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>ClipSize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #cc66cc;">801</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Delay &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color:#800080;">0.06</span> <span style="color: #666666; font-style: italic;">//Don't use this, use the tables below!</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>DefaultClip &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #cc66cc;">3201</span> <span style="color: #666666; font-style: italic;">//Always set this 1 higher than what you want.</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Automatic &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #666666; font-style: italic;">//Don't use this, use the tables below!</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Primary<span style="color: #339933;">.</span>Ammo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;smg1&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>ClipSize &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>DefaultClip &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>Automatic &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>Secondary<span style="color: #339933;">.</span>Ammo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;none&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//Firemode configuration</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>IronSightsPos <span style="color: #339933;">=</span> Vector<span style="color: #009900;">&#40;</span><span style="color:#800080;">6.02</span><span style="color: #339933;">,-</span><span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span><span style="color:#800080;">2.3</span><span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>IronSightsAng <span style="color: #339933;">=</span> Vector<span style="color: #009900;">&#40;</span><span style="color:#800080;">2.5</span><span style="color: #339933;">,-</span><span style="color:#800080;">.21</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>mode <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;auto&quot;</span> <span style="color: #666666; font-style: italic;">//The starting firemode</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>newclip <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #666666; font-style: italic;">//Do not change this</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi<span style="color: #339933;">.</span>Delay <span style="color: #339933;">=</span> <span style="color:#800080;">.09</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi<span style="color: #339933;">.</span>Cone <span style="color: #339933;">=</span> <span style="color:#800080;">0.012</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>semi<span style="color: #339933;">.</span>ConeZoom <span style="color: #339933;">=</span> <span style="color:#800080;">0.008</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto<span style="color: #339933;">.</span>Delay <span style="color: #339933;">=</span> <span style="color:#800080;">.09</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto<span style="color: #339933;">.</span>Cone <span style="color: #339933;">=</span> <span style="color:#800080;">0.008</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; SWEP<span style="color: #339933;">.</span>data<span style="color: #339933;">.</span>auto<span style="color: #339933;">.</span>ConeZoom <span style="color: #339933;">=</span> <span style="color:#800080;">0.006</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 12px/15px monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//End of configuration</span></div></li>
</ol></div><!--/PHP code -->]]></description>
      <link>https://gmod-fan.com/forum/problems/last/topic-1592.html</link>
      <pubDate>Wed, 13 Feb 2013 18:00:49 +0100</pubDate>
      <author>EginKaman</author>
      <guid isPermaLink="true"><![CDATA[https://gmod-fan.com/forum/problems/last/topic-1592.html]]></guid>
    </item>
    <item>
      <title>Lua проблема(полезно)</title>
      <description><![CDATA[Я пытался создать свой аддон Оружку из TF2 soilder shotgun сделал по образцу аддона Bang Bang You Dead РЕЗУЛЬТАТ:оружке не справа а слева,стреляет с движением но не снимает жизней (поставил во всех местах SWEP.Damage 99999999)нету патронов и не перезаряжается если поможите разобратся то повышу репутацию и будет эта тема полезна почти всем]]></description>
      <link>https://gmod-fan.com/forum/problems/last/topic-1592.html</link>
      <pubDate>Wed, 13 Feb 2013 17:34:52 +0100</pubDate>
      <author>621</author>
      <guid isPermaLink="true"><![CDATA[https://gmod-fan.com/forum/problems/last/topic-1592.html]]></guid>
    </item>
  </channel></rss>