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

OciXCrom's Custom Shop v1.0


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

Napisano 31.07.2014 18:00

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Comic Sans MS"><font size="3"><img src="http://i.imgur.com/BvXmiAo.png" border="0" alt="" /><br /><br /><img src="http://i.imgur.com/b23EwML.jpg" border="0" alt="" /><img src="http://i.imgur.com/HyZ5Kkd.jpg" border="0" alt="" /><img src="http://i.imgur.com/dY8Hzzq.jpg" border="0" alt="" /><br /><br /><img src="http://i.imgur.com/keHpVuC.png" border="0" alt="" /><br /><br /><iframe width="420" height="315" src="https://www.youtube.com/embed/lYtPQvdDMbs?rel=0" frameborder="0" allowfullscreen></iframe><br /><br />This plugin adds a <b><font color="#0080FF">Shop menu</font></b> in the game, which can be accessed by using the chat command &quot;/shop&quot;.<br />The shop containts the following items (by default):<br /><br /><b><font color="#FF0000">&lt;a&gt;</font> +50 Health <font color="#008000">[1000$]</font></b> -- Gives you +50 health points<br /><b><font color="#FF0000">&lt;b&gt;</font> +100 Armor <font color="#008000">[1000$]</font></b> -- Gives you +100 armor points<br /><b><font color="#FF0000">&lt;c&gt;</font> Unlimited Clip <font color="#008000">[3000$]</font></b> -- Makes your current weapon have unlimited bullets (without reloading). This item can only be activated on a weapon that actually uses bullets, reloading will remove the unlimited clip<br /><b><font color="#FF0000">&lt;d&gt;</font> Unlimited Ammo <font color="#008000">[200$]</font></b> -- Adds unlimited backpack ammo to your current weapon<br /><b><font color="#FF0000">&lt;e&gt;</font> All Grenades <font color="#008000">[800$]</font></b> -- Gives you HE Grenade, 2x Flashbang and a Smoke Grenade<br /><b><font color="#FF0000">&lt;f&gt;</font> Bomber <font color="#008000">[1600$]</font></b> -- Gives you 20 HE Grenades<br /><b><font color="#FF0000">&lt;g&gt;</font> Silent Footsteps <font color="#008000">[3000$]</font></b> -- You won't make noise when running<br /><b><font color="#FF0000">&lt;h&gt;</font> Faster Speed <font color="#008000">[4300$]</font></b> -- Makes you run faster<br /><b><font color="#FF0000">&lt;i&gt;</font> Low Gravity <font color="#008000">[2800$]</font></b> -- Allows you to jump higher<br /><b><font color="#FF0000">&lt;j&gt;</font> Chameleon <font color="#008000">[9000$]</font></b> -- Use this item to fool your enemies by disguising as them<br /><b><font color="#FF0000">&lt;k&gt;</font> Drugs (Speed + Health) <font color="#008000">[8000$]</font></b> -- Distorts your screen, makes you run faster and gives you additional health. The distortion is lost when zooming in<br /><b><font color="#FF0000">&lt;l&gt;</font> Transparency <font color="#008000">[2500$]</font></b> -- Makes you transparent<br /><b><font color="#FF0000">&lt;m&gt;</font> Invisibility (15 Seconds) <font color="#008000">[16000$]</font></b> -- Buying this will make you fully invisible for 15 seconds<br /><b><font color="#FF0000">&lt;n&gt;</font> Double Damage <font color="#008000">[10000$]</font></b> -- Doubles the damage you make on an enemy player<br /><b><font color="#FF0000">&lt;o&gt;</font> GodMode (5 Seconds) <font color="#008000">[16000$]</font></b> -- Become immortal for 5 seconds<br /><b><font color="#FF0000">&lt;p&gt;</font> Health Regeneration <font color="#008000">[1800$]</font></b> -- Regenerates 1 health point each half of a second<br /><b><font color="#FF0000">&lt;q&gt;</font> Armor Regeneration <font color="#008000">[2000$]</font></b> -- Regenerates 10 armor points each half of a second<br /><br /><img src="http://i.imgur.com/XqzxUsa.png" border="0" alt="" /><br /><br />Every single item can be disabled and modified by using various cvars.<br />To disable any item, you can use the cvar <b>&quot;customshop_disableditems&quot;</b>, add the item's letter in the cvar string to disable it.<br /><br /><b>Use these cvars to control the main options of the Shop:</b><br /><br />* <b>customshop_disableditems <font color="#FF0000">&lt;any available item letter (case sensitive)&gt;</font></b> -- Leave it empty if you want all items to be enabled<br />* <b>customshop_viponly <font color="#FF0000">&lt;<font color="#008000">default:</font> 0&gt;</font></b> -- Set to &quot;1&quot; if you want the Shop to be available only for players with a certain flag, you can change the flag by editing <b><font color="#0080FF">SHOP_ACCESS</font></b><br /><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">#define&nbsp;SHOP_ACCESS&nbsp;ADMIN_RESERVATION&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><b>You can change any item's prize by using the following cvars:</b><br /><br /><b><font color="#FF0000">&lt;a&gt;</font> customshop_health_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 1500&gt;</font><br /><font color="#FF0000">&lt;b&gt;</font> customshop_armor_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 1000&gt;</font><br /><font color="#FF0000">&lt;c&gt;</font> customshop_unlclip_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 3000&gt;</font><br /><font color="#FF0000">&lt;d&gt;</font> customshop_unlammo_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 200&gt;</font><br /><font color="#FF0000">&lt;e&gt;</font> customshop_allgrenades_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 800&gt;</font><br /><font color="#FF0000">&lt;f&gt;</font> customshop_bomber_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 1600&gt;</font><br /><font color="#FF0000">&lt;g&gt;</font> customshop_silentsteps_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 3000&gt;</font><br /><font color="#FF0000">&lt;h&gt;</font> customshop_fasterspeed_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 4300&gt;</font><br /><font color="#FF0000">&lt;i&gt;</font> customshop_lowgravity_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 2800&gt;</font><br /><font color="#FF0000">&lt;j&gt;</font> customshop_chameleon_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 9000&gt;</font><br /><font color="#FF0000">&lt;k&gt;</font> customshop_drugs_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 8000&gt;</font><br /><font color="#FF0000">&lt;l&gt;</font> customshop_transparency_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 2500&gt;</font><br /><font color="#FF0000">&lt;m&gt;</font> customshop_invisibility_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 16000&gt;</font><br /><font color="#FF0000">&lt;n&gt;</font> customshop_doubledamage_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 10000&gt;</font><br /><font color="#FF0000">&lt;o&gt;</font> customshop_godmode_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 16000&gt;</font><br /><font color="#FF0000">&lt;p&gt;</font> customshop_healthregen_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 1800&gt;</font><br /><font color="#FF0000">&lt;q&gt;</font> customshop_armorregen_prize <font color="#FF0000">&lt;<font color="#008000">default:</font> 2000&gt;</font></b><br /><br /><b>Other item cvars:</b><br /><br /><b><font color="#FF0000">&lt;a&gt;</font> customshop_health_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 50&gt;</font></b> -- Controls the health points you get when buying item &quot;a&quot;<br /><b><font color="#FF0000">&lt;b&gt;</font> customshop_armor_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 100&gt;</font></b> -- Controls the armor points you get when buying item &quot;b&quot;<br /><b><font color="#FF0000">&lt;f&gt;</font> customshop_bomber_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 20&gt;</font></b> -- Controls how many HE Grenades you get when buying item &quot;f&quot;<br /><b><font color="#FF0000">&lt;h&gt;</font> customshop_fasterspeed_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 300.0&gt;</font></b> -- Controls the speed boost you get when buying item &quot;h&quot;<br /><b><font color="#FF0000">&lt;i&gt;</font> customshop_lowgravity_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 0.5&gt;</font></b> -- Controls the gravity you get when buying item &quot;i&quot;. Be aware that the lower the gravity is, the higher you jump<br /><b><font color="#FF0000">&lt;k&gt;</font> customshop_drugs_speedammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 300.0&gt;</font></b> -- Controls the speed boost you get when buying item &quot;k&quot;<br /><b><font color="#FF0000">&lt;k&gt;</font> customshop_drugs_healthammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 200&gt;</font></b> -- Controls the health points you get when buying item &quot;k&quot;<br /><b><font color="#FF0000">&lt;l&gt;</font> customshop_transparency_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 75&gt;</font></b> -- Controls the transparency ammount when buying item &quot;l&quot;. Use a number from 0 to 255, the lower the number, the more transparency you get<br /><b><font color="#FF0000">&lt;m&gt;</font> customshop_invisibility_time <font color="#FF0000">&lt;<font color="#008000">default:</font> 15.0&gt;</font></b> -- Controls how many seconds you're invisible when buying item &quot;m&quot;<br /><b><font color="#FF0000">&lt;o&gt;</font> customshop_godmode_time <font color="#FF0000">&lt;<font color="#008000">default:</font> 5.0&gt;</font></b> -- Controls how many seconds you're immortal when buying item &quot;o&quot;<br /><b><font color="#FF0000">&lt;p&gt;</font> customshop_healthregen_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 1&gt;</font></b> -- Controls how many health points you get every second when buying item &quot;p&quot;<br /><b><font color="#FF0000">&lt;p&gt;</font> customshop_healthregen_time <font color="#FF0000">&lt;<font color="#008000">default:</font> 0.5&gt;</font></b> -- Controls the speed of regeneration when buying item &quot;p&quot;<br /><b><font color="#FF0000">&lt;p&gt;</font> customshop_healthregen_max <font color="#FF0000">&lt;<font color="#008000">default:</font> 150&gt;</font></b> -- Controls the maximum ammount of regenerated health when buying item &quot;p&quot;<br /><b><font color="#FF0000">&lt;q&gt;</font> customshop_armorregen_ammount <font color="#FF0000">&lt;<font color="#008000">default:</font> 10&gt;</font></b> -- Controls how many armor points you get every second when buying item &quot;p&quot;<br /><b><font color="#FF0000">&lt;q&gt;</font> customshop_armorregen_time <font color="#FF0000">&lt;<font color="#008000">default:</font> 0.5&gt;</font></b> -- Controls the speed of regeneration when buying item &quot;p&quot;<br /><b><font color="#FF0000">&lt;q&gt;</font> customshop_armorregen_max <font color="#FF0000">&lt;<font color="#008000">default:</font> 150&gt;</font></b> -- Controls the maximum ammount of regenerated armor when buying item &quot;p&quot;<br /><br />Custom sound can also be applied to any item. Check <b><font color="#0080FF">g_itemSounds</font></b>.<br /><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: #007700">new&nbsp;const&nbsp;</span><span style="color: #0000BB">g_itemSounds</span><span style="color: #007700">[][]&nbsp;=&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/smallmedkit1.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"a":&nbsp;+50&nbsp;Health&nbsp;[1000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/ammopickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"b":&nbsp;+50&nbsp;Armor&nbsp;[1000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"c":&nbsp;Unlimited&nbsp;Clip&nbsp;[3000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"d":&nbsp;Unlimited&nbsp;Ammo&nbsp;[200$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"e":&nbsp;All&nbsp;Grenades&nbsp;[800$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"x/x_pain2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"f":&nbsp;Bomber&nbsp;[1600$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"g":&nbsp;Silent&nbsp;Footsteps&nbsp;[3000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"misc/bipbip.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"h":&nbsp;Faster&nbsp;Speed&nbsp;[4300$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"i":&nbsp;Low&nbsp;Gravity&nbsp;[2800$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"j":&nbsp;Chameleon&nbsp;[9000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"k":&nbsp;Drugs&nbsp;(Speed&nbsp;+&nbsp;Health)&nbsp;[8000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"l":&nbsp;Transparency&nbsp;[2500$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"hornet/ag_buzz1.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"m":&nbsp;Invisibility&nbsp;(15&nbsp;Seconds)&nbsp;[16000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/gunpickup2.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"n":&nbsp;Double&nbsp;Damage&nbsp;[10000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"misc/stinger12.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"o":&nbsp;GodMode&nbsp;(5&nbsp;Seconds)&nbsp;[16000$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/suitchargeok1.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"p":&nbsp;Health&nbsp;Regeneration&nbsp;[1800$]<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"items/suitchargeok1.wav"&nbsp;</span><span style="color: #FF8000">//&nbsp;Item&nbsp;"q":&nbsp;Armor&nbsp;Regeneration&nbsp;[2000$]<br /></span><span style="color: #007700">}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><img src="http://i.imgur.com/md1xSAb.png" border="0" alt="" /><br /><br />* Move <b>custom_shop.amxx</b> in <b>addons/plugins</b><br />* Move <b>custom_shop.txt</b> in <b>addons/data/lang</b><br />* Move all the <b>sound files</b> in <b>sound/misc</b><br /><br /><img src="http://i.imgur.com/3A3S52K.png" border="0" alt="" /><br /><br />The plugin has <b><font color="#0080FF">multilingual support</font></b>. You can help with the translations <a href="https://forums.alliedmods.net/showthread.php?t=245317" target="_blank">here</a>. Any help would be appreciated.</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/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1406828670">OciXCrom's Custom Shop.zip</a> (45.7 KB)


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

<a href="http://www.amxmodx.o...?file_id=136443"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1406828670">Get Source</a> (custom_shop.sma - 38.8 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