Advertisement
Guest User

Untitled

a guest
May 25th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.71 KB | None | 0 0
  1. hook.Add("Think","vipzone",function()
  2.         for I,E in pairs(ents.FindInBox(Vector( -384, -990, -12800 ), Vector( 384, 990, -12500 ))) do
  3.                 E:SetHealth(100)
  4.                 if !E:IsPlayer() and E._dissdeny != 1 and
  5.                     E:GetClass() != "predicted_viewmodel" and
  6.                     E:GetClass() != "env_soundscape" and
  7.                     E:GetClass() != "physgun_beam" and
  8.                     E:GetClass() != "shadow_control" and
  9.                     E:GetClass() != "gmod_hands" and E:GetOwner():GetUserGroup() == "user"  then
  10.                     E:GetOwner():PrintMessage(HUD_PRINTCENTER, "=> "..E:GetOwner():GetUserGroup())
  11.                     E:Remove()
  12.                     --FPP.entGetOwner(E):PrintMessage(HUD_PRINTCENTER,"Zone protégée !")
  13.                 end
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement