Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Observer Catch-up

Featured Replies

  • Administrator

Show a new spectator the outcomes of the last two completed rounds.

Observer Catch-up 1.0.0 (olds.ro)

A player who becomes a spectator gets the results of the last completed rounds in chat, once, newest last:

[Recap] Round 6: Terrorists won (the bomb exploded) [Recap] Round 7: Counter-Terrorists won (all terrorists eliminated)

Anyone can print them again with /recap.

Requirements

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

Install

  • Compile scripting/olds_catchup.sma and copy olds_catchup.amxx to addons/amxmodx/plugins/; add it to plugins.ini. The compiler needs ReAPI's include files next to the stock includes.
  • Copy data/lang/olds_catchup.txt to addons/amxmodx/data/lang/.

Use

  say /recap             print the last results again
  olds_catchup_status    the stored results (ADMIN_CFG)

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

  olds_catchup_rounds 2  completed rounds shown (1-5)

Details

  • Results come from RG_RoundEnd: the winner, the reason and the round number (rounds counted since the match started). A round is recorded once, even if the round end fires twice for it.
  • A round closed by another plugin with rg_round_end() skips that hook; a check every second records it with the winner the game stored and the reason "round ended".
  • A match restart (sv_restart, game commencing) clears the history.
  • Spectator entry is read from the TeamInfo message: the team turning into SPECTATOR from anything else. Going spectator to spectator again prints nothing. With no completed rounds, nothing is printed on entry.

No downloads: the history is printed as chat lines.

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_catchup.sma

License: GPL-3.0-or-later.
Written for the olds.ro plugin workshop (AMX-034), by daemon and checked by the automated Claude review.

Observer Catch-up
v1.0.0Counter-Strike 1.6PluginTests: warnings
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 212 lines
/*
 * Observer Catch-up (olds.ro workshop card AMX-034)
 *
 * A player who becomes a spectator gets the results of the last completed
 * rounds in chat, once, newest last:
 *     Round 6: Terrorists won (the bomb exploded)
 *     Round 7: Counter-Terrorists won (all terrorists eliminated)
Show all 212 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.