CapsAdmin

Untitled

Jul 20th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. easylua.StartEntity("tornado")
  2.     function ENT:SetupDataTables()
  3.         self:DTVar("float", 0, "wind_speed")
  4.     end
  5.    
  6.     if CLIENT then
  7.         function ENT:Initialize()
  8.             self:SetRenderBounds(self:GetPos(), self:GetPos() + Vector(0,0,1000))
  9.         end
  10.        
  11.         function ENT:Draw()
  12.             -- sprites
  13.         end
  14.     end
  15.    
  16.     if SERVER then
  17.         function ENT:Initialize()
  18.             self.dt.wind_speed = 100
  19.         end
  20.        
  21.         function ENT:Think()
  22.             -- physics
  23.         end
  24.     end
  25. easylua.EndEntity(should_spawn, should_reload)
Advertisement
Add Comment
Please, Sign In to add comment