addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.4 KB
No file matches.
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.