mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
@@ -28,7 +28,6 @@ function ENT:Initialize()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function ENT:OnRemove()
|
function ENT:OnRemove()
|
||||||
print(12323)
|
|
||||||
self:RemoveModels()
|
self:RemoveModels()
|
||||||
--self.LightType = 0
|
--self.LightType = 0
|
||||||
--hook.Remove("PostDrawOpaqueRenderables")
|
--hook.Remove("PostDrawOpaqueRenderables")
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ function TRAIN_SYSTEM:Play(dep)
|
|||||||
self:AnnQueue(math.Rand(0.0,0.2))
|
self:AnnQueue(math.Rand(0.0,0.2))
|
||||||
if self.Noise then self:AnnQueue{"noise_start",self.Noise} else self:AnnQueue("noise_end") end
|
if self.Noise then self:AnnQueue{"noise_start",self.Noise} else self:AnnQueue("noise_end") end
|
||||||
self:AnnQueue{math.Rand(0.0,0.2), stbl.tone or "tone"}
|
self:AnnQueue{math.Rand(0.0,0.2), stbl.tone or "tone"}
|
||||||
if lastst then self:AnnQueue{-1} end
|
if lastst and not stbl.ignorelast then self:AnnQueue{-1} end
|
||||||
self:AnnQueue(msg)
|
self:AnnQueue(msg)
|
||||||
self:AnnQueue{math.Rand(0.1,0.4),"noise_end","buzz_end_upo"}
|
self:AnnQueue{math.Rand(0.1,0.4),"noise_end","buzz_end_upo"}
|
||||||
if self.Clicks then self:AnnQueue("click2") end
|
if self.Clicks then self:AnnQueue("click2") end
|
||||||
|
|||||||
Reference in New Issue
Block a user