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

[L4D2] Raise incapacitated


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

Napisano 29.02.2024 16:49

<div>Initially, I made this plugin for my server coop, but since I saw that a lot of people needed it, I decided to share it with you.<br /><br />Description:<br /><br />Have you ever wondered why a bot can raise an incapacitated survivor when he is beaten and his progress is not lost, and here is the player himself, when wants to raise an incapacitated bot/player when he is beaten by the infected, his progress lost. Not fair right?<br />This plugin aims to solve this problem. Now, when a player will raise an incapacitated survivor and that incapacitated survivor is beaten by mobs/bosses, the progress of the will not be disrupted.<br /><br />How does this plugin work you ask? Very simple. It changes the client flag during raising to a fake flag and changes the value of the sb_all_bot_game cvar 1/0. Cvar is needed so that when the player is alone on the server, the round does not fail. If the cvar value sb_all_bot_game is set in your server.cfg to 1, then the plugin will ignore this cvar and will work as it should.<br /><br />Please read carefully:<br /><br />In what cases can progress be lost? If the spitter spits under you and you you will raise an incapacitated survivor when he is being beaten by the horde/bosses, then your progress will be lost. Why is this done, you ask? Because the server can crash, this is why I needed to resort to sdkhooks so that the player's flag does not change to a fake flag when the player is standing in acid. Well, in any case, as soon as you move away from the acid and you will raise an incapacitated survivor, even if he is in the acid, your progress will not be disrupted.</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="https://www.sourcemo...90"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1709221453">GetSource</a> (l4d2_Raise_incapacitated.sp - 2.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