CSB Grappling Hook v1.0.0
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
- Enable the
fakemetamodule inmodules.ini. - Compile
csb_grappling_hook.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map, then
bind mouse4 +hook.
Instalação
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
Cvars5
| CVAR | Default | Description |
|---|---|---|
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. |
Comandos1
| Command | Access | Description |
|---|---|---|
+hook | t (ADMIN_LEVEL_H) when viponly=1 | Hold to grapple toward your crosshair. |
Avaliação
Ainda sem avaliações









