Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Alexit/

First Kill Money Bonus

Plugin
Alexitc527440d7eVersion 1.0: First release.History
addonsVersion 1.0: First release.
README.txtVersion 1.0: First release.
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 1. 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. 2. Copy data/lang/olds_firstkill.txt to addons/amxmodx/data/lang/. 3. 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.) 4. 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).

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.