Page 1 of 1

KD Money - *UPDATE* v 0.5

Posted: Mon Nov 22, 2021 5:35 pm
by greenie
This plugin give's players money by victim's or killer's KD ratio when killing him/her.

They don't get money when:
1. killing themself's
2. killing teammate

The method is: KD ratio * sv_reward.

Idea
I got the idea from a pack to Mattie's Event plugin( CSS plugin ), there you got money by killing someone. but you also got when you killed yourself/teammate

Cvars
sv_reward(Def: 500) - this is how much they get(* their KD ratio)
kdmoney_enabled(Def: 1) - if 0: disabled, if 1: enabled
kdmoney_usehud(Def: 1) - 0: Uses chat - 1: Uses HUD
kdmoney_kduse(Def: 0) - 0: Uses Victim's K : D - 1: Uses Killer's K : D

Example

player A kills player B.
player B has a K : D ratio of 1.00, and sv_reward is 1000, and kdmoney_kduse is 0
then would player A get 1000 $

I hope you enjoy this plugin and all idea's are welcome ;)

UPDATE 06-06-10, fixed strange error when killed had more then 1 kills and no deaths, the plugin got strange and removed all money.
Added Cvar

fixed the 'def money reward' (thx Throstur)

UPDATE 05-08-2006:
Added HUD
Now you can choose to use Victim's or Killer's K : D

plugin
source