Advertisement
Guest User

Untitled

a guest
May 25th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. function GM:ShouldCollide(ent1, ent2)
  2.     if (IsValid(ent1) and IsValid(ent2) and ent1:IsPlayer() and ent2:IsPlayer()) then
  3.         if (ent1:Team() == TEAM_INFECTED and ent2:Team() == TEAM_SWAT) then
  4.             --ent2:SetTeam(TEAM_INFECTED);
  5.             --player_manager.SetPlayerClass(ent2, "class_infected");
  6.             ent1:Kill();
  7.             ent2:Kill();
  8.             return false
  9.         end
  10.         return true
  11.     end
  12.     return true
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement