Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("PlayerShouldTakeDamage", "anti_teamkill", function( ply, attacker )
- if ply:isCP() and attacker:IsPlayer() and attacker:isCP() then
- return false
- end
- end)
Advertisement
Advertisement