Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GM:ShouldCollide(ent1, ent2)
- if (IsValid(ent1) and IsValid(ent2) and ent1:IsPlayer() and ent2:IsPlayer()) then
- if (ent1:Team() == TEAM_INFECTED and ent2:Team() == TEAM_SWAT) then
- --ent2:SetTeam(TEAM_INFECTED);
- --player_manager.SetPlayerClass(ent2, "class_infected");
- ent1:Kill();
- ent2:Kill();
- return false
- end
- return true
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement