No Damage Between Teams

I have 2 teams in my new gamemode but they are meant to work together, how do I stop them from damaging each other with crowbars/pistols. The crowbars and pistols are for breaking wood and killing zombies.


sbox_plpldamage 0 ?

How would I implement that? Just in the server.cfg?

I have located ‘sbox_plpldamage 0’.

There is an example for you on the old wiki:

Simply this should work:
[lua]hook.Add(“PlayerShouldTakeDamage”, “DisableTeamDamage”, function(victim, ply)
if(ply:Team() == victim:Team())then
return false;

Thanks :smiley: You are a great help.