Page 1 of 1

How to block money award?

Posted: Thu May 17, 2018 1:28 pm
by canibozz
Hello guys,

i stuck once again with a probably little problem.
Game: CS:GO.

As known, you're getting money for killsin CSGO.
Is there a way to stop this or at least the message?

Code: Select all

 +$150: Award for neutralizing an enemy with the X.


I didn't find an event which i can block.
Any ideas?

Re: How to block money award?

Posted: Thu May 17, 2018 2:35 pm
by Ehrmann
Hello. If you want do this for all players, you can use "cash_player_killed_enemy_default 0" cvar. Just add this to your game mod config.

Re: How to block money award?

Posted: Thu May 17, 2018 5:40 pm
by canibozz
It still prints:

Code: Select all

 +$0: Award for neutralizing an enemy with the SSG 08.

Re: How to block money award?

Posted: Thu May 17, 2018 6:21 pm
by satoon101
Ha! Nice one Valve/HPE...

To remove the message, you can use a HookUserMessage on SayText2. I am not sure what that specific message is, but you can always print it out or search through the resource file that stores these translations.

Re: How to block money award?

Posted: Thu May 17, 2018 6:28 pm
by Ayuto
Before doing that I would also try setting these two variables to 0:
  • mp_playercashawards
  • mp_teamcashawards

Re: How to block money award?

Posted: Thu May 17, 2018 6:35 pm
by canibozz
That worked! Thank you very much

Re: How to block money award?

Posted: Thu May 17, 2018 6:44 pm
by VinciT
satoon101 wrote:To remove the message, you can use a HookUserMessage on SayText2.

I think it should be TextMsg, but HookUserMessage doesn't have it implemented.