[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)
24 lines
374 B
Lua
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
|
|
|