View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-17-2018 , 17:10   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #19

Quote:
Originally Posted by jking View Post
well humf! I had no idea, is there anything out there that does otherwise?
I'm not sure, but if you'd like to do it yourself, just open up the source code of GDB on a notepad program like Notepad++ or Sublime Text 3.

Then change this line:

PHP Code:
if (bIsSurvivor(attacker) && bIsInfected(victim) && damagetype DMG_BULLET
To this:

PHP Code:
if (bIsSurvivor(attacker) && bIsValidClient(victim) && damagetype DMG_BULLET
And delete the "bool bIsInfected(int client)" function if you get a compile error/warning about it not being used.
__________________

Last edited by Psyk0tik; 08-17-2018 at 17:10.
Psyk0tik is offline