←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[Any] Admin Player Grabber - 5/6/2013

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 06.05.2013

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Allows admins to grab players. This should work in any game, though I know some game events may work differently in a few games.<br />I use it for Team Fortress 2.<br /><br />I noticed that there were a lot of prop/entity grabbers, but most had a lot of bloat, or did a ton of things. This one is really simple, and only targets clients. It also drops players when the grabber dies, so they don't stay grabbed, as well as drops the grabbed player when they die. It is also fairly light weight, and only hooks/updates admins that have access to the command (using prethink). We use it mostly to move players around when they are blocking others (friendly situations), or to throw people into saw blades or other various map traps (when it suits us).<br /><br /><font size="5"><b><u>Commands:</u></b></font><ul><li><b>sm_grab</b>: (ADMFLAG_SLAY) Toggles grab on a player.</li>
</ul><br />The grab has 2 modes. The default mode, will grab a player and bring them to you. The second mode uses +attack2, so if you hold your alt-fire and use the grab command, it will maintain the distance. Similarly, if you are grabbing a player, and use +attak2 while using the command, it will throw them rather than drop them.<br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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">2013-5-6 (v1.0.0)<br />* Initial Release</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="5"><b><u>Installation:</u></b></font><ul><li>Place the admingrab.smx file in your &quot;addons/sourcemod/plugins&quot; directory.</li>
<li>Use override flag &quot;admin_grab&quot; to change access.</li>
</ul><br /><font size="5"><b><u>Comments:</u></b></font><ul><li>Some grab and throw code was taken from <a href="http://forums.allied...ad.php?t=157075" target="_blank">Entcontrol</a></li>
</ul></div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1367828626">admingrab.smx</a> (7.5 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=119525"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1367828630">Get Source</a> (admingrab.sp - 9.1 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł
Odpowiedz