Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Jump Distance Stats

Featured Replies

  • Administrator

Shows jump distances in chat and HUD after each jump, with the type of jump and the distance in units.

Jump Distance Stats 1.0.0 (olds.ro)

Long jump practice. After each jump the jumper, and anyone spectating them in first person or chase view, gets one chat line (and a HUD line) with the type of jump and the distance, for example [JS] Long Jump: 241.37 units (pre 250, max 276)

Requirements

  • AMX Mod X 1.10.0.5490 or newer (fakemeta); no ReAPI needed

Install Compile scripting/olds_jumpstats.sma and copy olds_jumpstats.amxx to addons/amxmodx/plugins/.

Use

  say /js            turn the messages off or on for yourself (on by default);
                     it also stops what you see while spectating
  olds_js_status     every player's last jump and its result (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_jumpstats.cfg, created on first run)

  olds_js_min 200    jumps shorter than this (units) are not shown
  olds_js_hud 1      1 = also a HUD line
  olds_js_color 1    1 = coloured chat, 0 = plain chat

How a jump is measured

  • Every frame (FM_PlayerPreThink) the plugin reads pev_flags & FL_ONGROUND and pev_origin. The last frame on the ground is the take-off; leaving the ground with upward speed is a jump (walking off a ledge is not). The first frame on the ground again is the landing.
  • Distance = horizontal distance between take-off and landing origin + 32 (the player's width, so it is measured edge to edge).
  • Types, by the take-off: Bunny Hop when the player was on the ground for less than 0.15 s; Standing Long Jump when the pre-speed (speed on the last ground frame) is under 50; Duck Jump when ducking; else Long Jump.
  • Not counted (nothing shown): landing at a different height from the take-off (feet, with ducking taken into account), and jumps spoiled by a teleport, ladder, water or noclip.

No downloads: all messages are text with chat colour codes.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_jumpstats.sma, test/js_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0970).

Jump Distance Stats
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads4.3 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 282 lines
/*
 * Jump Distance Stats (olds.ro) - long jump practice: after each jump the
 * jumper (and anyone spectating them) sees the jump type and the distance.
 *
 * Copyright (C) 2026 daemon (olds.ro), written by daemon's plugin agent
 *
 * This program is free software: you can redistribute it and/or modify it
Show all 282 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.