wiremod-svn-archive/wire/lua/entities/gmod_wire_lamp/shared.lua
tad2020 e0e5ff0687 [fixed] wire lamp (now casts shadows)
[fixed] gate stool
[changed] renderbounds update interval (was 2sec, now 3-10sec)
This update breaks compatibility with previous gmod versions (use 572 or earlier for gmod10 v32)
2008-01-18 01:07:33 +00:00

24 lines
374 B
Lua

ENT.Type = "anim"
ENT.Base = "base_gmodentity"
ENT.PrintName = ""
ENT.Author = ""
ENT.Contact = ""
ENT.Purpose = ""
ENT.Instructions = ""
ENT.Spawnable = false
ENT.AdminSpawnable = false
function ENT:SetOn( _in_ )
self:SetNetworkedBool( "Enabled", _in_ )
end
function ENT:GetOn()
return self:GetNetworkedVar( "Enabled", true )
end