Admins grab a player or entity with +grab, push/pull it with the mouse wheel and throw it on release.
Daemon666
1.0.0 - Initial release.
| csb_admin_grab.sma main | 1e34137 | 4.7 KB |
README.md
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_throwspeed. - Access-flag gated; state is dropped safely on disconnect.
Installation
- Enable the
fakemetamodule inmodules.ini. - Compile
csb_admin_grab.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map, then
bind mouse3 +grabin your config.
The command requires the ADMIN_BAN flag (d) by default.
Instalare
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
Cvar-uri
| CVAR | Default | Description |
|---|---|---|
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. |
Comenzi
| Command | Access | Description |
|---|---|---|
+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. |
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.Versiuni →
Evaluare
No ratings yet.
Download v1.0.0
Cerințe
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opțional |
| ReAPI | Opțional |
| Metamod | Metamod / Metamod-r |
| Module | fakemeta |
| Conflicte cunoscute | While grabbing, invnext/invprev are consumed, so weapon-switch on the mouse wheel is paused for that admin. |
Contribuitori









