Delete anti-invis.txt
This commit is contained in:
parent
4e0ef09ae5
commit
1815ab2ffd
1 changed files with 0 additions and 25 deletions
|
|
@ -1,25 +0,0 @@
|
|||
--@name anti - invis
|
||||
--@author cool-bro
|
||||
--@owneronly
|
||||
--@client
|
||||
--[[
|
||||
Make visible invisible entities
|
||||
--]]
|
||||
local z = 0
|
||||
hook.add("Tick","h",function()
|
||||
if z == 0 then
|
||||
z = 1
|
||||
timer.simple(1,function()
|
||||
local props = find.inSphere(owner():getPos(),2000)
|
||||
for i =1 , table.count(props) do
|
||||
if props[i]:isValid() and props[i]:getColor()[4] < 150 and props[i]:getClass() != "gmod_wire_hologram" then
|
||||
props[i]:setColor(Color(props[i]:getColor()[1],props[i]:getColor()[2],props[i]:getColor()[3],255))
|
||||
end
|
||||
if props[i]:isValid() and props[i]:getColor()[4] < 150 and props[i]:getClass() != "gmod_wire_hologram" then
|
||||
props[i]:setColor(Color(props[i]:getColor()[1],props[i]:getColor()[2],props[i]:getColor()[3],0))
|
||||
end
|
||||
end
|
||||
z = 0
|
||||
end)
|
||||
end
|
||||
end)
|
||||
Loading…
Add table
Reference in a new issue