Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("Think","vipzone",function()
- for I,E in pairs(ents.FindInBox(Vector( -384, -990, -12800 ), Vector( 384, 990, -12500 ))) do
- E:SetHealth(100)
- if E:IsPlayer() ~= true and E._dissdeny ~= 1 and
- E:GetClass() ~= "predicted_viewmodel" and
- E:GetClass() ~= "env_soundscape" and
- E:GetClass() ~= "physgun_beam" and
- E:GetClass() ~= "shadow_control" and
- E:GetClass() ~= "gmod_hands" and E:GetOwner():GetUserGroup() == "user" then
- E:GetOwner():PrintMessage(HUD_PRINTCENTER, "=> "..E:GetOwner():GetUserGroup())
- E:Remove()
- --FPP.entGetOwner(E):PrintMessage(HUD_PRINTCENTER,"Zone protégée !")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement