CSB Admin Grab

v1.0.0 2 téléchargements Daemon666 Dernière mise à jour: Jul 15, 2026

Admins grab a player or entity with +grab, push/pull it with the mouse wheel and throw it on release.

CSB Admin Grab is the classic physics-gun toy for admins. Bind +grab to a key: while held, whatever your crosshair was on is pinned in the air at a fixed distance along your aim and follows it every frame (its origin is set in PlayerPreThink). The mouse wheel (invnext / invprev) pushes the target away or pulls it closer, and releasing the key throws it forward with velocity.

Inspired by Admin Grab by KRoTaL. Independent GPL re-implementation.

Features

  • bind KEY +grab — grab whatever is in your crosshair (players or physics entities).
  • Mouse wheel changes the hold distance, clamped by csb_grab_maxdist.
  • Release throws the target along your aim with csb_grab_throw speed.
  • Access-flag gated; state is dropped safely on disconnect.

Installation

  1. Enable the fakemeta module in modules.ini.
  2. Compile csb_admin_grab.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map, then bind mouse3 +grab in your config.

The command requires the ADMIN_BAN flag (d) by default.

Installation

1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini
2. Put csb_admin_grab.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map
4. bind a key to +grab

Cvars

CVARDefaultDescription
csb_grab_enabled 1 Enable or disable the grab command.
csb_grab_throw 900 Throw speed applied on release.
csb_grab_maxdist 800 Maximum hold distance in units.

Commandes

CommandAccessDescription
+grab d (ADMIN_BAN) Hold to grab and carry the entity in your crosshair.
invnext / invprev d (ADMIN_BAN) While grabbing, push or pull the target.

Journal des modifications — v1.0.0

1.0.0 - Initial release.
Versions →
Contributeurs: Daemon666 ✦
Auteur original: KRoTaL Licence: GPL-3.0

Note

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Télécharger .sma
Fichiers:
csb_admin_grab.sma main 4.7 KB

Prérequis

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Modules fakemeta
Conflits connus While grabbing, invnext/invprev are consumed, so weapon-switch on the mouse wheel is paused for that admin.
Retour aux Plugins