Skip to content
View in the app

A better way to browse. Learn more.

Learn more

privileged-auto-bunnyhop/README.txt

README.txt
34 lines · 1.4 KB · Text
Raw
Privileged Auto Bunnyhop 1.0.0 (olds.ro)
========================================

VIPs and admins bunny-hop by holding the jump key. Everyone else jumps once
per press, as usual.

Requirements
  - AMX Mod X 1.10.0.5490 or newer, ReAPI

Install
  1. Compile scripting/olds_autobhop.sma and copy olds_autobhop.amxx to
     addons/amxmodx/plugins/.
  2. Copy data/lang/olds_autobhop.txt to addons/amxmodx/data/lang/.
  No downloads.

Settings (addons/amxmodx/configs/plugins/olds_autobhop.cfg, made on first run)
  olds_ab_flag "b"      access flag(s) that allow auto bunnyhop (all needed)
  olds_ab_default 1     1 = on when an allowed player joins
  olds_ab_water 0       1 = also chain jumps in water (waist deep or more)

Players
  say /abh   turns auto bunnyhop off or on (allowed players only)

Admins
  amx_abh_status (ADMIN_KICK)   flags, access, on/off and hops of everyone

How it works
  - In PreThink (RG_CBasePlayer_PreThink), for an allowed player with it on:
    when jump is held and the player stands on the ground, IN_JUMP is
    removed from pev_oldbuttons, so the game movement sees a fresh press and
    jumps again. Speed, gravity and friction are not touched.
  - In water (waterlevel 2 or more) nothing is forced, unless olds_ab_water 1.
  - Access is read when the player enters the server and again at every
    spawn: a flag removed at runtime stops the feature at the next respawn.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.