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] Infinite Powerup Canteens


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

Napisano 29.06.2016 16:24

<div>This is a simple plugin giving players infinite canteen charges provided they have bought one.<br />Charges are refilled every second for each alive player with at least one charge in stock.<br /><br />It is also my first submission, so if I did something wrong - please correct me without running me into the ground ;-;<br /><br /><b><u>Console Variables:<br /></u></b><br /><b>sm_infinitecanteens_enabled </b>(0/1, default 1) - Controls if the plugin's functionality is enabled or not.<br /><br /><b>sm_infinitecanteens_admin </b>(0/1, default 0) - Controls if the plugin's functionality requires special access in order to be used.<br /><br /><b>sm_infinitecanteens_togglable </b>(0/1, default 1) - Controls if the plugin's functionality can be toggled per-user using commands.<br /><br /><b>sm_infinitecanteens_default </b>(0/1, default 1) - Controls if the plugin's functionality should be enabled by default for players connecting, given they meet the criteria to use the plugin<br /><br /><b>sm_infinitecanteens_advertise</b> (0 - disable, &gt;0 - seconds, default: 120 seconds) - Controls the plugin's advertising feature. The advertisement shortly explains what the plugin does, how to use it, and its current state for the user.<br /><br /><b>sm_infinitecanteens_version</b> - Plugin version. Don't touch, please :3<br /><br /><u><b>Overrides:<br /><br /></b></u><b>sm_infinitecanteens </b>(default access: Generic (B)) - If <b>sm_infinitecanteens_admin</b> is 1, this override will control access to the plugin's functions.<br /><br /><b>Instructions:<br /></b>Drop the plugin into your sourcemod plugins folder (usually tf/addons/sourcemod/plugins/) and reload the server/load the plugin.<br /><br /><b>Plugin usage:<br /></b>Out of the box, the plugin is enabled, requires no admin access, by default grants all users infinite charges, can be toggled per-user and will self-advertise each 120 seconds. All of those settings can be changed using the convars listed above.<br />Note: The advertisement will not display the 2nd line (To enable/disable the plugin for yourself) if you have disabled toggling.<br /><u>You also have to buy the type you want at the upgrade station. From there, the plugin will assign you five charges repeatedly. If you change the type at the upgrade station at a later date, the changes will immediatelly take effect - you will have 5 charges of the new type.</u><br /><br /><b>Compiling:</b><br />The plugin only requires MoreColors.<br /><br /><b>Changelog</b>:<br /><br /><b>1.0</b> - initial release<br /><br /><b>Plans/To-Do:<br /></b>None for now.<br /><br /><b>Media:<br /><br />- ConVar changes:<br /><img src="http://i.imgur.com/LRsxify.png"border="0" alt="" /><br />- More ConVar changes + advertisement<br /><img src="http://i.imgur.com/8chgjWt.png" border="0" alt="" /><br />- Command Output<br /><img src="http://i.imgur.com/3uPCaIC.png" border="0" alt="" /><br />-- When toggling is disabled<br /><img src="http://i.imgur.com/0O2fTaT.png" border="0" alt="" /><br />-- When the plugin is disabled<br /><img src="http://i.imgur.com/vptyt0v.png" border="0" alt="" /><br />-- When the user doesn't have sufficient access<br /><img src="http://i.imgur.com/Gn0T65M.png" border="0" alt="" /><br />- The HUD when the plugin is enabled:<br /><img src="http://i.imgur.com/ECnnCvr.png" border="0" alt="" /><br /></b>Note that you will <b>ALWAYS</b> have 5 charges when the plugin is enabled.</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/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...ecolors.inc</a>(24.5 KB)


</td>
</tr><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...anteens.smx</a>(14.3 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...06"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1467216282">GetSource</a> (sm_infinite_canteens.sp - 8.8 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