I create a variable that holds players money. It only descends when he buys something and only ascends in some specific situations. When someone is killed or new round starts, players money is set to the sum in the variable, so he doesn't get money of kills and new rounds.