Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

[TF2]Powerups Shop


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

Napisano 03.06.2016 02:16

<div><i>Complete rewrite of my old <a href="https://forums.allie...d.php?t=266895"target="_blank">Powerups</a> plugin, with some ideas from <a href="https://forums.alliedmods.net/showthread.php?t=278579" target="_blank">RTD Revamped</a>!</i><br /><br /><font size="5"><u><b>Description</b></u></font><br /><font size="3">This plugin allows players to buy powerups using points that they get by playing on your server.</font><br /><br /><font size="5"><b><u>How does it works?</u></b></font><br /><font size="3">While a player is on your server, he will get points for:<br />- Playing (Time)<br />- Doing map objectives (<u>Incoming in future releases</u>)<br />- Killing other players (<u>Incoming in future releases</u>)<br /><br />When the player have enough points, he will be able to buy powerups by accessing the shop menu (<b><u><i>!powerups</i></u></b>).</font><br /><br /><font size="5"><b><i><u>Commands</u></i></b></font><br /><font size="3"><b>sm_powerups</b> or <b>!powerups</b> in the chat to open the shop menu.<br /><b>sm_addpoints &lt;player name/steam id&gt; &lt;quantity&gt;</b> - Adds points to a given player account.<br /><b>sm_removepoints &lt;player name/steam id&gt; &lt;quantity&gt;</b> - Removes points from a given player account.<br /><b>sm_forcepowerup &lt;player name&gt; &lt;powerup&gt;</b> - Forces a powerup to some player. (&lt;powerup&gt; parameter is the powerup number in &quot;ps_powerups.txt&quot;).<br /></font><br /><br /><font size="4"><b><u>Install Instructions</u></b></font><br /><font size="2">Download the .zip and extract into &quot;...addonssourcemod&quot; folder.</font><br /><br /><font size="4"><u><b>Configuration</b></u></font><br /><font size="2">When you run the plugin for the first time, an .cfg named &quot;plugin.powerups_shop&quot; will be generated in your &quot;...cfgsourcemod&quot; folder. Modify that file to customize the plugin settings.<br /><br />All players informations are stored in &quot;...addonssourcemoddata&quot; folder, as a text file named &quot;ps_players&quot;.<br />All powerups settings are stored in &quot;...addonssourcemodconfigs&quot; folder as a text file named &quot;ps_powerups&quot;.</font><br /><br /><font size="3"><b><i><u>Changelog</u></i></b></font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br />0.8 - Beta Release<br /></div>
</div>
</div><br /><br /><font size="3"><b><i><u>Credits</u></i></b></font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br />Thanks! for these cool people:<br /><a href="https://forums.allie...d.php?t=283407"target="_blank">ddhoward</a><br /></div>
</div>
</div><br /><br /><b><u>Advanced users: Compilation and custom powerups</u></b><br />Check #template.sp in &quot;...addonssourcemodscriptingincludepower ups&quot; folder to a tutorial on how to create custom powerups.<br />If you get warning in the compilation, don't worry about that, these warning are for the unused hook interfaces for powerups that users creates or for future updates powerups.<br /><br />Thanks for choosing my plugin!</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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


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


</td>
</tr><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...76"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1464917085">GetSource</a> (powerups_shop.sp - 21.0 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