View Single Post
eyal282
Veteran Member
Join Date: Aug 2011
Old 01-27-2018 , 10:05   Re: [L4D2] Points System v1.6.9 Beta R1
Reply With Quote #419

Quote:
Originally Posted by eziosid View Post
hi all i need to know how to dicrease spitter damage becoz i have this in my 13 vs 13 and spiter get so many points so i need help tnx
Use CTRL + F to search the SP file, there isn't a cvar.

Code:
		if( (type == 263168 || type == 265216) && hurtcount[attacker] >= 8 )
		{
			if(GetConVarBool(Notifications)) PrintToChat(attacker, "%s %T", MSGTAG, "Spit Damage", LANG_SERVER, GetConVarInt(IHurt));
			points[attacker] += GetConVarInt(IHurt);
			hurtcount[attacker] -= 8;
		}
------------->

Code:
		if( (type == 263168 || type == 265216) && hurtcount[attacker] >= 69420 )
		{
			if(GetConVarBool(Notifications)) PrintToChat(attacker, "%s %T", MSGTAG, "Spit Damage", LANG_SERVER, GetConVarInt(IHurt));
			points[attacker] += GetConVarInt(IHurt);
			hurtcount[attacker] -= 69420;
		}
The change I made will require 69420 times of spit damage for getting spit damage points once ( a.k.a never ), the one you claim is too much is 8 times of spit damage.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline