Hi, i’m looking for the setting in ZS that changes the point system to be damage based not kill based and i have no idea where it is please help!
[lua]function ZombieSurvival_Pointsys(ent, inflictor, attackers, amount, dmginfo)
local attacker = dmginfo:GetAttacker( ) //probably the same as regular “attackers” It’s just a thing I do…
if (ValidEntity(attacker) && attacker:IsPlayer() && ent:IsPlayer() && ent:Team() != attacker:Team()) then
local dmg = dmginfo:GetDamage();
hook.Add( “EntityTakeDamage”, “ZombieSurvivalPointSystem?”, ZombieSurvival_Pointsys);[/lua]
Thats not what i need. I need to know how to turn it on.
There is no setting. You have to code it yourself.