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

[forums.alliedmods.net] [CS:S] Spawn Friendly Fire Punishment


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

Napisano 05.03.2012 22:25

<div>I run a CS:S server with friendly fire on and sometimes we get people who intentionally shoot other players in spawn as an act of revenge or just to troll. I created this plugin to combat it (I couldn't find a plugin that did the same thing, but maybe I'm not looking hard enough).<br /><br />The time you define for spawnff_time is the amount of time after the freeze round ends that the plugin will check for players to punish. During this time any players who commit friendly fire will be slain. This plugin allows for the option to restore the damage done to the attacker.<br /><br /><b>Features:</b><ul><li>Slay a client who team attacks after round freeze ends</li>
<li>Announce that the client has been slain for spawn friendly fire</li>
<li>Restore health to the victim of the attacker</li>
<li>Announce that the victim's health has been restored</li>
</ul><br /><b>Plugin cvars:</b><br />spawnff_time &lt;<b>5.00</b>&gt; - How many seconds to allow punishment for spawn ff<br />spawnff_restore &lt;0, <b>1</b>&gt; - Restore health to the victim (0 = off, 1 = on)<br />spawnff_announce_slay &lt;0, <b>1</b>&gt; - Announce the slay punishment (0 = off, 1 = on)<br />spawnff_announce_restore &lt;<b>0</b>, 1&gt; - Announce the health restore (0 = off, 1 = on)<br /><br /><b>Change Log</b><ul><li>Version 1.0.2<ul><li>Fixed client index 0 bug</li>
</ul></li>
</ul><ul><li>Version 1.0.1<ul><li>Added explosion sound and sprite effect (ala firebomb of funcommands) when client is slain</li>
<li>Fixed slay message spam when shot by a shotgun</li>
</ul></li>
</ul><ul><li>Version 1.0.0<ul><li>Initial Public Release</li>
</ul></li>
</ul><br /><b>Known Issues:</b><ul><li>Shotgun blasts may cause multiple health restore messages. This is due to the multiple player_hurt events that trigger (trying to figure out the best way to solve this).</li>
</ul><br /><b>Additional Info:</b><br />This is my second plugin, and I've been testing it out on my server. It seems to be running alright and not causing any problems. However, that doesn't mean I haven't missed any bugs. Feel free to give it a whirl and give me some feedback.<br /><br />Slaying may seem like a harsh punishment to some for any FF within x amount of seconds of the round starting. However, it's proven to be quite effective in handling rouge pubbies who mistreat friendly fire after spawning. It's prevented a few incidents on our server already, and has given admins a chance to kick the offender without him ruining a round.</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...39"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...1330982821">Get Source</a> (spawnff_punish.sp - 5.5 KB)


</td>
</tr>
</table>
</fieldset>


</div>
<br /><br />Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych