Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Landing Streak

Featured Replies

  • Administrator

Count consecutive landings across a named practice route.

Landing Streak 1.0.0 (olds.ro)

Surf practice: count consecutive landings across a named route. Each landing inside the next zone of the route adds one to your streak, shown as a DHUD line ("Landing streak: 3 - next: Ramp 4 landing") with the stock buttons/blip1 sound.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer (hamsandwich)

Install

  • Compile scripting/olds_landstreak.sma and copy olds_landstreak.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_landstreak.txt to addons/amxmodx/data/lang/.
  • Copy configs/olds_landstreak/ to addons/amxmodx/configs/ and make a <mapname>.ini route from _example.ini.

Use

  say /streak               your best streak on this map, your current streak
                            and the next zone
  olds_landstreak_status    the route and everyone's streaks (ADMIN_CFG)
  olds_landstreak_reload    read this map's route again (ADMIN_CFG)

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

  olds_landstreak_reset 1   1 = landing in the wrong zone resets the streak
                            (landing in zone 1 then starts a new one);
                            0 = a wrong zone is ignored

Route: configs/olds_landstreak/<map>.ini, one zone per line in route order:

    "Zone name"  x1 y1 z1  x2 y2 z2
After the last zone the route starts again at the first. A map without a
route registers no frame hook.

Rules

  • A landing is the first frame with FL_ONGROUND after being in the air (ReAPI CBasePlayer::PostThink); the player's origin must be inside a zone.
  • Repeated touch-downs in the same zone (bounces) count once.
  • The streak resets on a respawn, on touching a trigger_teleport, or when another plugin calls olds_landstreak_reset(id).
  • The best streak is kept for the map while the player stays connected.

Natives (library "olds_landstreak")

  olds_landstreak_reset(id)              break the player's streak (checkpoints)
  olds_landstreak_get(id, &best = 0)     current streak; best this map in best

No downloads.

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_landstreak.sma, test/streak_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 (AMX-049).

Landing Streak
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.2 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 349 lines
/*
 * Landing Streak (olds.ro) - surf practice: counts consecutive landings across
 * an ordered route of named zones.
 *
 * 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 349 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.