<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="5"><font color="Olive">Advance Gun Menu</font></font><br /><br /><b>This plugin allows you to create a custom gun menu that is best used for zombie like gamemodes. This plugin has only been tested in CSGO but Should also work with CSS.</b><br /><br /><b>Installation:</b><br />Drag and drop everything into your server.<br /><br /><b>Commands:</b>!weapons<br /><br /><b>Cvars:</b><br />TimeUntillDisabled 20.0 //Time untill the weapon menu gets disabled<br /><br /><b>Global Forwards</b><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">/**<br /> * Called after a gun menu item is selected.<br /> *@param GunName Gets the gun name<br /> *@param ClientName Gets the clients name<br /> *@param UserIndex Gets users index<br />**/ <br /></span><span style="color: #0000BB">forward OnGunMenuSelect</span><span style="color: #007700">(const </span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">GunName</span><span style="color: #007700">[], const </span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">ClientName</span><span style="color: #007700">[], </span><span style="color: #0000BB">UserIndex</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">/**<br /> * Called when gun menu has been disabled.<br />**/ <br /></span><span style="color: #0000BB">forward OnGunMenuDisable</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->You will need to add your own weapons in your weapons.ini file located in configs/weapons.<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #DD0000">"Weapons"<br /></span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"weapon_p250"</span><span style="color: #FF8000">//Weapon string this will be show in the menu<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"ID" "0"</span><span style="color: #FF8000">//ID must always increment by one<br /> </span><span style="color: #007700">}<br /> </span><span style="color: #DD0000">"weapon_awp"<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"ID" "1"<br /> </span><span style="color: #007700">}<br />}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><b>Changelog</b><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">v0.1 Initial Release
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --></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...75">AWM.smx</a>(13.3 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...12"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1421989575">GetSource</a> (AWM.sp - 4.2 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...">ShadowDragonsadvance weapon menu.zip</a> (582.0 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- 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...est_awm.smx</a>(2.9 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...15"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1421989637">GetSource</a> (test_awm.sp - 361 Bytes)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...gunmenu.inc</a>(525 Bytes)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

Shadows Advance Gun Menu
Temat rozp. Adminek AMXX.PL, 23.01.2015 06:07
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych