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] Spawn Bonus Ducks


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

Napisano 27.07.2016 19:10

<div><div align="center"><br /><font size="3"><b><u>Spawn Bonus Ducks!<br /></u></b></font><br /><font size="4"><font color="Red"><b>WARNING: THIS PLUGIN HAS NOT BEEN TESTED INGAME YET. IT COMPILED FINE, BUT I'M A TAD TOO BUSY TO TEST IT MYSELF. LET ME KNOW IF SOMETHING DOESN'T WORK CORRECTLY. THANKS!</b></font></font></div>This plugin allows admins to spawn BONUS DUCKS. A similar plugin (but lazier-made and crappier) was made and released by me when the EotL update hit. After Valve stated they saw using plugins to spawn ducks as &quot;cheating without hacking&quot;, I removed the downloads and any info pertaining to spawning ducks.<br /><br />Now that the update has been over for a long time, and the ducks no longer give XP, I remade the plugin and am releasing it.<br /><br /><br /><font size="3"><b><u>Commands</u></b></font><br /><ul><li><b>sm_quack</b> <i>&lt;target&gt;</i> <i>&lt;number of ducks to spawn (1-100)&gt;</i> <i>&lt;are spawned ducks Quackstons? (0/1)&gt;</i> - Spawns the chosen amount of ducks on the target. (ADMFLAG_CHEATS)</li>
<li><b>sm_aimquack</b> <i>&lt;number of ducks to spawn (1-100)&gt;</i> <i>&lt;are spawned ducks Quackstons? (0/1)&gt;</i> - Spawns the chosen amount of ducks at your crosshairs. (ADMFLAG_CHEATS)</li>
<li><b>sm_unquack</b> - Kills all tf_bonus_duck_pickup entities that are active on the map. (ADMFLAG_CHEATS)</li>
</ul><br /><br />Want to restrict who has access? Simply head over to your server's &quot;admin_overrides.cfg&quot; file and add in the following:<br /><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">&quot;sm_quack&quot;&nbsp; &quot;&lt;add flag here&gt;&quot;<br />&quot;sm_aimquack&quot;&nbsp; &quot;&lt;add flag here&gt;&quot;<br />&quot;sm_unquack&quot;&nbsp; &quot;&lt;add flag here&gt;&quot;</code><hr />
</div>Just replace the &quot;&lt;add flag here&gt;&quot; bit with whatever flag you want to restrict it to, i.e. &quot;z&quot; or &quot;b&quot;.<br /><br />Note: When spawning ducks, if you enter &quot;0&quot; for the &quot;are ducks quackston hale ducks&quot; argument, the plugin looks at which class you are and which team you're on and spawns the respective skinned duck (i.e. if you're a BLU Pyro, the non-Quackston ducks you spawn will be BLU Pyro ducks).<br /><br /><br /><font size="3"><b><u>Convars</u></b></font><br /><ul><li><b>sm_spawnbonusducks_version</b> - Standard version convar. Do not touch!</li>
</ul><br /><br /><br /><font size="3"><b><u>Installation Instructions</u></b></font><ol style="list-style-type: decimal"><li>Download tf2_duckspawn.smx and put it into &quot;addons/sourcemod/plugins&quot;</li>
<li>Run the plugin</li>
<li>???</li>
<li>Profit!</li>
</ol><br /><br /><font size="3"><b><u>Want to unleash utter chaos on your server?</u></b></font><br />If so, give the &quot;tf2_duckspawnchaos.smx&quot; plugin a try. The difference between the &quot;CHAOS EDITION&quot; and the standard plugin is that the CHAOS EDITION's commands are all publicly accessible, meaning everyone can use the commands and spawn ducks at will.<br /><br /><br /><font size="3"><b><u>Version History</u></b></font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Version History</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 /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>1.0</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 /><ul><li>Initial release</li>
</ul><br /></div>
</div>
</div><br /></div>
</div>
</div><br /><br /><br /><font size="3"><b><u>Credits</u></b></font><br /><ul><li><b>Jessecar</b> - Original source of the code snippet for spawning ducks. He and Geel also mildly DDoSed the Steam servers when they both abused the everloving shit out of their duck-spawning plugins and kept pushing how many ducks they could spawn at once and how fast they could repeat the spawning without crashing their clients, just so they could max out their duck journals.</li>
<li><b>Pelipoika</b> - Has really been awesome with helping me learn this newdecls stuff. Thanks Pelipoika! :D</li>
</ul><br /><br /><br /><font size="3"><b><u>Problems? Suggestions?</u></b></font><br />There shouldn't be any errors or bugs in this plugin, but if you do happen to find any, please let me know on this thread and I'll try my best to correct the issues! If you have any suggestions for ways to rework my code, or suggestions of new things to add, let me know! Lastly, if you think I should create convars to control other things in this plugin, let me know!</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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...71"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1469642984">GetSource</a> (tf2_duckspawn.sp - 14.2 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...73"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1469643608">GetSource</a> (tf2_duckspawnchaos.sp - 14.2 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