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

Knife_Get (With Menu)


  • 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 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 01.02.2014 02:06

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="7">Description:</font><br />This plugin was made by tumtum and i edited (Knife_Get). But instead of the player type the name of knife in chat, he type !knife and open one menu with 6 knives for choose per one map.<br /><br /><br /><font size="5"><u>Knife list:</u></font><br /><ul><li> Bayonet</li>
<li> Gut Knife</li>
<li> Flip Knife</li>
<li> M9 Bayonet</li>
<li> Karambit</li>
<li> Golden Knife</li>
</ul><br /><br /><font size="5"><u>Cvars:</u></font><br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarSpawnMenu = CreateConVar(&quot;knife_spawnmenu&quot;, &quot;0&quot;, &quot;Open menu in all spawn&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarWelcomeMenu = CreateConVar(&quot;knife_welcomemenu&quot;, &quot;1&quot;, &quot;Open menu on Client Connected&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarIngameMenu = CreateConVar(&quot;knife_ingamemenu&quot;, &quot;1&quot;, &quot;Enabled menu&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarVersion = CreateConVar(&quot;sm_knife_version&quot;,PLUGIN_VERSION,&quot;Version of plugin&quot;,FCVAR_NOTIFY);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetConVarString(cvarVersion,PLUGIN_VERSION);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarKarambit = CreateConVar(&quot;knife_karambit_enable&quot;, &quot;1&quot;, &quot;Enable or Disable Karambit&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarBayonet = CreateConVar(&quot;knife_bayonet_enable&quot;, &quot;1&quot;, &quot;Enable or Disable Bayonet&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarGut = CreateConVar(&quot;knife_gut_enable&quot;, &quot;1&quot;, &quot;Enable or Disable Gut&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarM9 = CreateConVar(&quot;knife_m9_enable&quot;, &quot;1&quot;, &quot;Enable or Disable M9 Bayonet&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarFlip = CreateConVar(&quot;knife_flip_enable&quot;, &quot;1&quot;, &quot;Enable or Disable Flip&quot;, FCVAR_NONE, true, 0.0, true, 1.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cvarGolden = CreateConVar(&quot;knife_golder_enable&quot;, &quot;1&quot;, &quot;Enable or Disable Golden&quot;, FCVAR_NONE, true, 0.0, true, 1.0);</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><br /><font size="4">All configurations in: cfg/sourcemod/plugin.knife.cfg</font><br /><br /><br /><font size="7"><font color="red">Especial Thanks For tumtum.</font></font></div>


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








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1391218833">sm_knife.smx</a> (7.0 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=130128"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1391218840">Get Source</a> (sm_knife.sp - 9.3 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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