Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Client Demo Recorder

Featured Replies

  • Administrator

Starts demo recording on each player's own client when they join, naming the file by map and time so players can replay their rounds.

Client Demo Recorder 1.0.0 (olds.ro)

Starts a demo on each player's own client when they join, named by map and time (for example de_dust2_2130.dem), so players can replay their rounds.

Requirements

  • AMX Mod X 1.10.0.5490 or newer

Install

  • Compile scripting/olds_cdemo.sma and copy olds_cdemo.amxx to addons/amxmodx/plugins/.
  • Copy data/lang/olds_cdemo.txt to addons/amxmodx/data/lang/. No downloads: the client's engine writes the demo file; the plugin only sends the console command.

Settings (addons/amxmodx/configs/plugins/olds_cdemo.cfg, made on first run)

  olds_cdemo_enable 1     1 = record demos on players' clients
  olds_cdemo_delay 6.0    seconds after joining before the recording starts
  olds_cdemo_optin 0      1 = record only for players who say /demo
  olds_cdemo_bots 0       1 = also handle bots (for testing only; bots
                          have no client, so nothing is sent to them)

How it works

  • olds_cdemo_delay seconds after a player joins (client_putinserver) the plugin sends "stop;record <map>_<hhmm>" (get_mapname, get_time("%H%M")), and tells the player in chat. "stop" first ends a demo still running from the previous map, so after a map change the recording restarts under the new map's name.
  • say /demo toggles: while recording it stops the demo; otherwise it starts one at once. With olds_cdemo_optin 1 nothing is recorded until the player says /demo; the choice is kept in the player's own userinfo (setinfo _cdemo 1) so it holds on the next maps.
  • On disconnect the plugin forgets the player (the client's engine ends the demo itself when it leaves the server).
  • Clients that block server "record"/"stop" commands simply ignore them; the server gets no error and nothing else changes.

Admin

  amx_cdemo_status   (ADMIN_KICK) who is recording and the demo names

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_cdemo.sma, test/cdemo_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-0834).

Client Demo Recorder
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads3.7 KBUpdated 8 hours ago
Sign in to download
Pawn (AMX Mod X) · 203 lines
/*
 * Client Demo Recorder (olds.ro)
 * 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 under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 203 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.