Votre serveur ici Participez à l'enchère hebdomadaire Promouvoir serveur

CSB Admin Grab v1.0.0

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
Cvars3
CVARDefaultDescription
csb_grab_enabled1Enable or disable the grab command.
csb_grab_throw900Throw speed applied on release.
csb_grab_maxdist800Maximum hold distance in units.
Commandes2
CommandAccessDescription
+grabd (ADMIN_BAN)Hold to grab and carry the entity in your crosshair.
invnext / invprevd (ADMIN_BAN)While grabbing, push or pull the target.
Note
Pas encore de notes