Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Featured Replies

  • Administrator

Track completed rounds survived without a confirmed enemy paint hit.

Clean Sheet 1.0.0 (olds.ro)

Paintball: counts the rounds in a row each player survives without a confirmed hit from an enemy. /cleansheet shows your streak; from olds_clean_minstreak rounds on, a DHUD line shows it at round end.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer
  • A Paintball mod that hurts players through the game's own damage (the usual Paintball Gun & Mod does); no natives are needed

Install

  • Compile scripting/olds_cleansheet.sma and copy olds_cleansheet.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_cleansheet.txt to addons/amxmodx/data/lang/.

Use

  say /cleansheet       your streak and your best on this map
  olds_clean_status     every player's streak (ADMIN_CFG)

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

  olds_clean_minstreak 2   streak from which the round-end DHUD line shows (1-50)

Details

  • A confirmed hit: RG_CBasePlayer_TakeDamage from an enemy player that really lowered the victim's health. Paint splats, friendly fire, blocked damage and repeated callbacks for one shot change nothing.
  • A round counts when the player was alive at its start, is alive at its end, stayed on the same team and was never hit. Otherwise the streak is 0 at round end. A mid-round joiner's first round does not count.
  • Streaks live in memory only: cleared when a player leaves and at every map change.

No downloads: a DHUD line and chat.

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_cleansheet.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-038).

Clean Sheet
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.8 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 194 lines
/*
 * Clean Sheet (olds.ro workshop card AMX-038)
 *
 * Paintball: counts the rounds in a row each player survives without a
 * confirmed hit from an enemy. /cleansheet shows your streak; from
 * olds_clean_minstreak rounds on, a DHUD line shows it at round end.
 *
Show all 194 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.