on my server i want it so when someone kills a prop they get 10 points per kill. This is what i have but i cant seen to get it to work. Can someone help me out?
hook.Add(“PlayerDeath”, “PointShop_PlayerDeath”, function(victim, inflictor, attacker)
if attacker:IsPlayer() and attacker:IsValid() and not victim == attacker then
if attacker:Team() == ROLE_HUNTER and victim:Team() == ROLE_PROP ) then
attacker:PS_GivePoints(10, "killed " … victim:Nick())
attacker:PS_Notify(“You’ve been given ‘10’ points for killing a prop”);