Skip to content
View in the app

A better way to browse. Learn more.

Learn more

First Kill Money Bonus

Featured Replies

  • Administrator

Pays a money bonus to the first player who kills an enemy in each round.

First Kill Money Bonus 1.0.0 (olds.ro)

The first player who kills an enemy in a round gets a money bonus, and a little more when that kill is a headshot. Everyone is told in chat who made the first kill, with a bell sound.

  • Only the first kill of a round on an enemy counts. Later kills in the same round pay nothing extra.
  • Team kills, suicides and deaths caused by the map (falls, trigger_hurt) do not count: the next real kill on an enemy is then the first kill.
  • A kill made after the round has been won does not count.
  • The bonus is paid only when enough players are on the two teams (bots count). With fewer players the first kill still uses up the round's bonus, but nothing is paid or shown.
  • Money never goes above the server's mp_maxmoney (16000 by default).
  • The game's own kill reward is paid as usual; the bonus comes on top.
  • With mp_freeforall 1 (ReGameDLL_CS) every other player is an enemy.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer, with the cstrike module (enabled by default)

Install

  • Compile scripting/olds_firstkill.sma and copy olds_firstkill.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.
  • Copy data/lang/olds_firstkill.txt to addons/amxmodx/data/lang/.
  • Copy configs/plugins/olds_firstkill.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)
  • Add olds_firstkill.amxx to addons/amxmodx/configs/plugins.ini.

Settings (addons/amxmodx/configs/plugins/olds_firstkill.cfg)

  olds_fkm_bonus 1000       money for the first kill of the round
  olds_fkm_hs_extra 500     extra money when that kill is a headshot
  olds_fkm_announce 1       1 = tell everyone in chat who made the first kill,
                            with a bell sound; 0 = silent
  olds_fkm_minplayers 4     players needed on the two teams for the bonus to
                            be paid (bots count); 0 = always

Commands None.

Chat text "[First Kill] <name> made the first kill of the round and earns $1000." The text is in data/lang/olds_firstkill.txt and can be translated there. The bell is the game's own buttons/bell1.wav, so nothing is downloaded.

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 5.29.0.358, with YaPB bots (de_dust2).

Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0277. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later).

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_firstkill.sma, test/lib0277_probe.sma

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

First Kill Money Bonus
v1.0Counter-Strike 1.6PluginTests passed
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.1 KBUpdated 12 hours ago
Sign in to download
Pawn (AMX Mod X) · 218 lines
/*
 * First Kill Money Bonus (olds.ro workshop card LIB-0277)
 *
 * The first player who kills an enemy in a round gets a money bonus, and a
 * little more when that kill is a headshot. Everyone is told in chat who it
 * was, with a bell sound. Team kills, suicides and deaths caused by the map
 * do not count: the next real kill on an enemy is then the first kill.
Show all 218 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.