Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Plugin] Reset Score v1.1.0 (/rs, /resetscore)

Featured Replies

[Plugin] Reset Score v1.1.0 (/rs, /resetscore)v1.1.0Counter-Strike 1.6Plugin
0 downloads · 3.1 KB · Updated 3 hours ago
AMX Mod X: 1.9, 1.10Server engine: HLDS, ReHLDSNeeds ReAPI: No
Sign in to download
Alexitv1.1.0 First release. · 1 file
Pawn (AMX Mod X) · 247 lines
/*
 * Reset Score (olds.ro workshop card LIB-2142)
 *
 * A player types /rs or /resetscore in chat to set their own kills and deaths
 * back to zero. Nothing else about the player changes: weapons, the bomb,
 * money and team stay as they are.
 *
 * Chat commands (chat and team chat, any letter case, slash optional):
 *   /rs           rs
 *   /resetscore   resetscore
 *
 * Cvars (saved with their descriptions in configs/plugins/olds_resetscore.cfg
 * the first time the plugin starts):
 *   olds_rs_cooldown 60   Seconds a player waits between two resets, 0 = no wait.
 *   olds_rs_confirm  1    1 = ask with a Yes/No menu first, 0 = reset at once.
 *   olds_rs_alive    1    1 = living players may reset, 0 = only dead players
 *                         and spectators.
 *
 * Requires AMX Mod X 1.9 or newer with the cstrike and fun modules.
 * ReAPI is not used.
 *
 * Copyright (C) 2026 alexit (olds.ro workshop)
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 * This program is free software: you can redistribute it and/or modify it
View olds_resetscore.sma →
Install into: cstrike/
1.1.0 12/4/2026
First release.
v1.1.012/4/2026 · 3.1 KB · 0 downloads
  • Administrator

Name: Reset Score

Version: 1.1.0

Author: alexit (olds.ro)

License: GPL-3.0-or-later (the .sma source is attached below)

Description: Players reset their own score (kills and deaths) to 0 / 0 with a chat command. A Yes/No confirmation menu appears first; it can be turned off with a cvar. The scoreboard updates at once for everyone. Nothing else changes: weapons, the bomb, money and team stay the same. There is a cooldown between two resets (60 seconds by default), and the player sees how many seconds are left. A player who is already at 0 / 0 is told so and nothing is reset. Messages are shown only to the player who used the command.

Screenshots: -

Download: olds_resetscore.sma (attached below)

Installation:

1) Put olds_resetscore.sma in addons/amxmodx/scripting and compile it with the AMX Mod X 1.10 compiler (0 errors, 0 warnings)

2) Put olds_resetscore.amxx in addons/amxmodx/plugins

3) Open addons/amxmodx/configs/plugins.ini and add at the end: olds_resetscore.amxx

Cvars (created automatically, with descriptions, in addons/amxmodx/configs/plugins/olds_resetscore.cfg on the first start):

olds_rs_cooldown 60 - seconds a player waits between two resets (0 = no wait, max 86400)

olds_rs_confirm 1 - 1 = ask with a Yes/No menu before the reset, 0 = reset at once

olds_rs_alive 1 - 1 = living players may reset too, 0 = only dead players and spectators

Public commands (type them in chat with Y or U): /rs, /resetscore, rs, resetscore - resets your score to 0 / 0 (any letter case; only the exact message counts, so "rs please" stays a normal chat message)

Required modules (remove the ; in front of them in addons/amxmodx/configs/modules.ini): CStrike, Fun

Tested on: ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-R 1.3.0.149, AMX Mod X 1.10.0-git5490. ReAPI is not needed.

Credits: written from scratch for the olds.ro workshop (card LIB-2142), checked by two reviewers (alexit and daemon).

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.