Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[CS:S?/CS:GO] Noknife / !disarm


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 01.12.2015 22:40

<div><font size="4">1 - Description</font><br />This is a (somewhat) simple plugin, which allows players to type !noknife (or also !disarm) to hide their knife and optionally, all other weapons.<br />Mostly useful for Surf/Bhop servers, where you don't really need weapons anyways.<br /><br />The commands supplied by this plugin are opt-in, meaning that per default, players will have their weapons (see section 5).<br /><br />Tested with CS:GO, should work with CS:S, altough untested there.<br /><br />Before you ask: no, this plugin does not breach any rules imposed by Valve, as it only spawns the default knife entity (if even).<br /><br /><font size="4">2 - Commands</font><br />sm_noknife/sm_disarm - toggle, hide/show your knife.<br />sm_knife - various actions (see cvars)<br /><br /><font size="4">3 - CVar's</font><br />sm_noknife_version - version, ignore that<br />sm_noknife_knife_only (def. 1) - enable to only allow the knife being given to players (sets mp_[t/ct]_default_primary/secondary/grenades cvars)<br />sm_noknife_strip_other (def. 0) - when using !noknife, remove all other weapons too (become entirely civilian)<br />sm_noknife_removal_info (def. 1) - behaviour done when a player types !knife: 0 = do nothing (&quot;unknown command&quot;), 1 = show informational message (as in, community servers are no longer allowed to hand out fake econ items), 2 = alias for !noknife<br /><br /><font size="4">4 - Requirements</font><br />SourceMod 1.7+<br />Clientprefs (per default included in SM)<br /><br /><font size="4">5 - Installation</font><br />The installation is pretty straightforward:<br />- Extract the translations.zip and upload the extracted directories/files into your SM directory<br />- Upload noknife.smx to your plugins/ folder<br />- Use sm plugins load noknife / change map / restart server<br />- The plugin auto-generates a plugin.noknife.cfg inside your cfg/sourcemod directory, configure the cvars there.<br />- Read the section below<br /><br /><font size="6">PLEASE READ THIS!</font><br />A lot of skill-based maps (i.e. surf/bhop) strip off all weapons from players, so this plugin will accomplish nothing.<br />In order for clients to get their default items, download <a href="https://forums.allie...ad.php?t=39439"target="_blank">Stripper:Source</a>, install it and put the following at the end of the addons/stripper/global_filters.cfg:<br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">remove:<br />{<br />&quot;classname&quot; &quot;game_player_equip&quot;<br />}<br /><br />remove:<br />{<br />&quot;classname&quot; &quot;trigger_weapon_strip&quot;<br />}<br /><br />remove:<br />{<br />&quot;classname&quot; &quot;player_weaponstrip&quot;<br />}</code><hr />
</div>This will remove all overrides done by maps.<br /><br /><font size="3">Changelog</font><br />2.0.0 (01/12/2015)<br />- Initial public release</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...08"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1449005706">GetSource</a> (noknife.sp - 5.7 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...noknife.smx</a>(10.7 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...lations.zip</a>(1.1 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...nstocks.inc</a>(949 Bytes)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...>colors.inc</a>(14.3 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych