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] Ultimate Shop [Respawn]


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

Napisano 01.04.2014 12:54

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello, there! In this thread I want to presetn you one shop plugin, which I'm making from long time ago. Тhere are some more things o add, so I'll update the new features regularly. This plugin is suitable for Respawn servers, because I used a check for the player spawn, instead of the round start check. The shop is payed by the money from the game and there are some cvars for convenience.<br /><font size="5"><font color="#00BF00"><b>Shop items:</b></font></font><br /><font color="#FF0000">1.</font><font color="#0000FF"> <b>+ &lt;num&gt; HP</b></font><br />/Adds some amount of HP on the player/<br /><font color="#FF0000">2.</font><font color="#0000FF"> <b>+ &lt;num&gt; Armor</b></font><br />/Adds some amount of Armor on the player/<br /><font color="#FF0000">3.</font> <font color="#0000FF"><b>+ &lt;num&gt; HP and Armor</b></font><br />/Adds some amount of Armor and HP on the player/<br /><font color="#FF0000">4.</font> <font color="#0000FF"><b>AWP</b></font> <br />/gives AWP to the player/<br /><font color="#FF0000">5.</font> <font color="#0000FF"><b>Chameleon</b></font><br />/gives model from the other team to the player/<br /><font color="#FF0000">6.</font> <font color="#0000FF"><b>Speed</b></font><br />/increases the speed of the player/<br /><font color="#FF0000">7.</font> <font color="#0000FF"><b>G3SG1</b></font><br />/gives G3SG1 to the player/<br /><font color="#FF0000">8.</font><font color="#0000FF"> <b>Invisibility (70%)</b></font><br />/makes the player 70% invisible/<br /><font color="#FF0000">9.</font> <font color="#0000FF"><b>All Grenades</b></font><br />/gives all grenades to the player/<br /><br /><font size="5"><font color="#00BF00"><b>New Items ( v4.7 ):</b></font></font><br /><br /><font color="#FF0000">10.</font> <font color="#0000FF"><b>М249 + Deagle</b></font><br />/gives M249 and Deagle to the player/<br /><font color="#FF0000">11.</font> <font color="#0000FF"><b>Gravity 60%</b></font><br />/makes the gravity of the player 60%/<br /><font color="#FF0000">12.</font> <font color="#0000FF"><b>Gravity 35%</b></font><br />/makes the gravity of the player 35%/<br /><br /><font size="5"><font color="#00BF00"><b>New Items ( v4.8 ):</b></font></font><br /><br /><font color="#FF0000">13.</font> <font color="#0000FF"><b>Zombie Models</b></font><br />/sets a Zombie Model to the player/<br />These are the items for now, I'm going to add some more later and update the plugin. :)<br /><br /><font size="5"><font color="#00BF00"><b>CVARs:</b></font></font><br /><font color="#00BF00"><u><b>1. Define the amount of HP and Armor items:</b></u></font><br /><b><font color="#FF0000">shop_hp_amount &lt;num&gt;</font></b> (default: 200)<br />/Amount of HP for item №1/<br /><b><font color="#FF0000">shop_armor_amount &lt;num&gt;</font></b> (default: 200)<br />/Amount of Armor for item №2/<br /><b><font color="#FF0000">shop_hp_and_armor_amount &lt;num&gt;</font></b> (default: 255)<br />/Amount of HP and Armor for item №3/<br /><br /><font color="#00BF00"><u><b>2. Define the items' costs:</b></u></font><br /><b><font color="#FF0000">shop_hp_cost &lt;num&gt;</font></b> (default: 5000$)<br />/cost of item №1 (+HP)/<br /><b><font color="#FF0000">shop_armor_cost &lt;num&gt;</font></b> (default: 5000$)<br />/cost of item №2 (+Armor)/<br /><b><font color="#FF0000">shop_hp_and_armor_cost &lt;num&gt;</font></b> (default: 12000$)<br />/cost of item №3 (+HP и Armor)/<br /><b><font color="#FF0000">shop_awp_cost &lt;num&gt;</font></b> (default: 13000$)<br />/cost of item №4 (AWP)/<br /><b><font color="#FF0000">shop_chameleon_cost &lt;num&gt;</font></b> (default: 16000$)<br />/cost of item №5 (Chameleon)/<br /><b><font color="#FF0000">shop_speed_cost &lt;num&gt;</font></b> (default: 10000$)<br />/cost of item №6 (Speed)/<br /><b><font color="#FF0000">shop_g3sg1_cost &lt;num&gt;</font></b> (default: 13000$)<br />/cost of item №7 (G3SG1)/<br /><b><font color="#FF0000">shop_invisible_cost &lt;num&gt;</font></b> (default: 16000$)<br />/cost of item №8 (Invisible)/<br /><b><font color="#FF0000">shop_grenades_cost &lt;num&gt;</font></b> (default: 2000$)<br />/cost of item №9 (All Grenades)/<br /><b><font color="#FF0000">shop_m249_deagle_cost &lt;num&gt;</font></b> (default: 8000$)<br />/cost of item №10 (М249 + Deagle)/<br /><b><font color="#FF0000">shop_gravity_60%_cost &lt;num&gt;</font></b> (default: 9000$)<br />/cost of item №11 (Gravity 65%)/<br /><b><font color="#FF0000">shop_gravity_35%_cost &lt;num&gt;</font></b> (default: 15000$)<br />/cost of item №12 (Gravity 35%)/<br /><b><font color="#FF0000">shop_zombie_cost &lt;num&gt;</font></b> (default: 5000$)<br />/cost of item №12 (Zombie Models)/<br /><br /><b><font color="#00BF00"><u>NEW OPTION: VIP players' costs (flag &quot;e&quot; - slay)</u></font></b><br /><b><font color="#00BF00">First is the cvar to define if VIP costs are enabled (default: disabled):</font></b><br /><b><font color="#FF0000">vip_costs 0/1</font></b> (default: 0)<br /><br /><b><font color="#00BF00"><u> Next is to define the VIP players' costs. Default they are the same, but they can be changed with the following cvars:</u></font></b><br /><br /><b><font color="#FF0000">shop_hp_vip_cost &lt;num&gt;</font></b> (default: 5000$)<br />/Cost of item №1 (+HP) for VIP players/<br /><b><font color="#FF0000">shop_armor_vip_cost &lt;num&gt;</font></b> (default: 5000$)<br />/Cost of item №2 (+Armor) for VIP players/<br /><b><font color="#FF0000">shop_hp_and_armor_vip_cost &lt;num&gt;</font></b> (default: 12000$)<br />/Cost of item №3 (+HP и Armor) for VIP players/<br /><b><font color="#FF0000">shop_awp_vip_cost &lt;num&gt;</font></b> (default: 13000$)<br />/Cost of item №4 (AWP) for VIP players/<br /><b><font color="#FF0000">shop_chameleon_vip_cost &lt;num&gt;</font></b> (default: 16000$)<br />/Cost of item №5 (Chameleon) for VIP players/<br /><b><font color="#FF0000">shop_speed_vip_cost &lt;num&gt;</font></b> (default: 10000$)<br />/Cost of item №6 (Speed) for VIP players/<br /><b><font color="#FF0000">shop_g3sg1_vip_cost &lt;num&gt;</font></b> (default: 13000$)<br />/Cost of item №7 (G3SG1) for VIP players/<br /><b><font color="#FF0000">shop_invisible_vip_cost &lt;num&gt;</font></b> (default: 16000$)<br />/Cost of item №8 (Invisible) for VIP players/<br /><b><font color="#FF0000">shop_grenades_vip_cost &lt;num&gt;</font></b> (default: 2000$)<br />/Cost of item №9 (All Grenades) for VIP players/<br /><b><font color="#FF0000">shop_m249_deagle_vip_cost &lt;num&gt;</font></b> (default: 8000$)<br />/Cost of item №10 (М249) + Deagle for VIP players/<br /><b><font color="#FF0000">shop_gravity_60%_vip_cost &lt;num&gt;</font></b> (default: 9000$)<br />/Cost of item №11 (Gravity 65%) for VIP players/<br /><b><font color="#FF0000">shop_gravity_35%_vip_cost &lt;num&gt;</font></b> (default: 15000$)<br />/Cost of item №12 (Gravity 35%) for VIP players/<br /><b><font color="#FF0000">shop_zombie_cost &lt;num&gt;</font></b> (default: 5000$)<br />/Cost of item №13 (Zombie Models) за VIP играчи/<br /><br /><font color="#00BF00"><u><b>3.Turn on/off items:</b></u></font><br /><b><u><font color="#FF0000">*Default all the items are enabled. Value 1 turns the item on, value 0 turns it off.*</font></u></b><br /><br /><b><font color="#FF0000">shop_hp_on </font></b><br />/Turn on/off item №1/<br /><b><font color="#FF0000">shop_armor_on </font></b><br />/Turn on/off item №2/<br /><b><font color="#FF0000">shop_hp_and_armor_on </font></b><br />/Turn on/off item №3/<br /><b><font color="#FF0000">shop_awp_on</font></b><br />/Turn on/off item №4/<br /><b><font color="#FF0000">shop_chameleon_on</font></b><br />/Turn on/off item №5/<br /><b><font color="#FF0000">shop_speed_on</font></b><br />/Turn on/off item №6/<br /><b><font color="#FF0000">shop_g3sg1_on</font></b><br />/Turn on/off item №7/<br /><b><font color="#FF0000">shop_invisible_on</font></b><br />/Turn on/off item №8/<br /><b><font color="#FF0000">shop_grenades_on</font></b><br />/Turn on/off item №9/<br /><b><font color="#FF0000">shop_m249_deagle_on</font></b><br />/Turn on/off item №10/<br /><b><font color="#FF0000">shop_gravity_60%_on</font></b><br />/Turn on/off item №11/<br /><b><font color="#FF0000">shop_gravity_35%_on</font></b><br />/Turn on/off item №12/<br /><b><font color="#FF0000">shop_zombie_on</font></b><br />/Turn on/off item №13/<br /><br />If the item is desabled, the following message will appear on player's chat when he tries to choose it:<br /><font color="#00BF00">[Prefix]</font> <font color="#BF0040">Owner has disabled</font> &lt;<font color="#00BF00">Element Name</font>&gt; <font color="#BF0040">from the shop!</font><br /><br /><b>These are the cvars to define the chat messages prefix:</b><br /><b><font color="#FF0000">shop_prefix &quot;PREFIX&quot;</font></b> (default:<font color="#00BF00"> [CS-MaxGaminG.iNFO]</font>)<br />/defines the chat messages prefix/<br />Example:<font color="#FF0000"> shop_prefix</font> &quot;<font color="#00BF00"><u>[ServerPrefix]</u></font>&quot;<br /><br /><b><font color="#FF0000">shop_prefix_color &lt;num&gt; </font></b> (default: <font color="#00BF00">4</font>)<br />/defines the chat message prefix color/<br />1 - <font color="#FFBF00">default chat color</font><br />3 - <font color="#BF0040">team</font> <font color="#0000BF">color</font> - <a href="http://prikachi.com/...50/7198450M.jpg" target="_blank">EXAMPLE</a><br />4 - <font color="#00BF00">green color</font> - <a href="http://prikachi.com/images/451/7198451O.jpg" target="_blank">EXAMPLE</a><br /><br /><font size="5"><font color="#00BF00"><b>Chat Messages:</b></font></font><br />1. When you buy current item - <a href="http://prikachi.com/images/459/7198459v.jpg" target="_blank">EXAMPLE</a><br />2. When you are dead or spectator and try to buy something - <a href="http://prikachi.com/images/594/7202594a.jpg" target="_blank">EXAMPLE</a><br />3. When you don't have enough money - <a href="http://prikachi.com/images/459/7198459v.jpg" target="_blank">EXAMPLE</a><br />4. When you already have the current item - <a href="http://prikachi.com/images/461/7198461P.jpg" target="_blank">EXAMPLE</a><br />5. When the item is desabled by the server owner - <a href="http://prikachi.com/images/464/7198464B.jpg" target="_blank">EXAMPLE</a><br /><br />Here is the еxterior of the plugin - <a href="http://prikachi.com/images/465/7198465N.jpg" target="_blank">PAGE №1</a> <a href="http://prikachi.com/images/598/7202598M.jpg" target="_blank">PAGE №2</a><br /><br /><font color="#FF0000"><b>CHANGELOG:</b></font><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">-------------Version 4.7--------------<br />-added items №10, 11 и 12<br />-reduced the size of the code<br />-------------Version 4.8--------------<br />-аdded item №13<br />-added VIP costs option<br />-reduced the size of the code</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b><font color="#FF0000">*I hope you'll enjoy it! It took me a lot of time, so I expect you will like it. I'm waiting for your notes, opinions, reviews and remarks. :)</font></b></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=1396354450">UltimateShop(v4.8)Models.zip</a> (852.1 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=132220"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1396354460">Get Source</a> (UltimateRespawnShop3[v4.8].sma - 25.2 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