<div>This might already exist but meh, I'm too lazy to check every single threads of AM. :bee:<br /><br />Anyway, what is the purpose of this plugin ?<br /><b>KarmaCharger</b> requested something to push player in certains direction, so I "made" this.<br /><br />There's no really much more to know actually, it's just used to knockback people away.<br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Cvar</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> <b>knockback_pushforceup </b>(def. 251) - Used to push the target upward, 251 is the minimum, otherwise, the target won't be pushed.</li>
</ul> </div>
</div>
</div><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Command</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> <b>sm_knockback</b> <target> <power> <damage> <direction></li>
<li> <target> = You guessed it.</li>
<li> <power> = Power to push the player with.</li>
<li> <damage> = Damage to do to the player. (can be 0)</li>
<li> <direction> = In which direction the player will be pushed.</li>
<li> 0 = forward, 1 = left, 2 = back, 3 = right.</li>
</ul> </div>
</div>
</div><br /><br />I know it's very basic and it might not be the best way to do it, but it works, and if it works, it's all good.<br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Credits</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> <b>Chanz</b> for his <a href="https://forums.allie....php?p=1239361"target="_blank"><b>Inifnite Jumping</b></a> plugin - 95% of the plugin comes from there. :D</li>
</ul> </div>
</div>
</div></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...40"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1443391405">GetSource</a> (knockback.sp - 5.1 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

[TF2-ANY?] Knockback/Push players
Temat rozp. Adminek AMXX.PL, 27.09.2015 23:08
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych