CSB Grappling Hook

v1.0.0 0 downloads Daemon666 Last updated: Jul 15, 2026

A +hook grappling hook: traces to a surface, draws a beam and pulls the player toward it, with range, cooldown and VIP gating.

CSB Grappling Hook gives players a Spider-Man style grapple bound to a key. Pressing +hook traces from your eyes along your aim to the first solid surface within csb_hook_range; if it hits, a laser beam is drawn to the anchor and you are pulled toward it by setting your velocity every frame in PlayerPreThink. Release the key (or arrive) to detach, which starts a short cooldown.

Inspired by the classic Hook plugin. Independent GPL re-implementation; no original code is reused.

Features

  • bind KEY +hook — grapple to whatever your crosshair is on.
  • Max range and pull speed are cvars; a per-use cooldown prevents spam.
  • Laser beam drawn to the anchor point while hooking.
  • Optional VIP/flag gating via csb_hook_viponly.

Installation

  1. Enable the fakemeta module in modules.ini.
  2. Compile csb_grappling_hook.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map, then bind mouse4 +hook.

Installation

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

CVARs

CVARDefaultDescription
csb_hook_enabled 1 Enable or disable the grappling hook.
csb_hook_range 1500 Maximum hook range in units.
csb_hook_pull 700 Pull speed applied toward the anchor.
csb_hook_cooldown 3.0 Seconds of cooldown after releasing the hook.
csb_hook_viponly 1 Require the VIP/reservation flag (t) to use the hook.

Commands

CommandAccessDescription
+hook t (ADMIN_LEVEL_H) when viponly=1 Hold to grapple toward your crosshair.

Changelog — v1.0.0

1.0.0 - Initial release.
Versions →
Contributors: Daemon666 ✦
License: GPL-3.0

Rating

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Download source (.sma)
Files:
csb_grappling_hook.sma main 5.4 KB

Requirements

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Not required
ReAPI Not required
Metamod Metamod / Metamod-r
Required modules fakemeta
Known conflicts Other plugins that overwrite pev_velocity every frame (some anti-cheats, other movement mods) will fight the pull.
Back to Plugins