Guest User

Untitled

a guest
Jun 20th, 2017
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. How to raise the water:
  2.  
  3. local aWater = ents.FindByClass("func_water_analog")
  4.  
  5. for i = 1, #aWater do
  6. aWater[i]:Fire("open")
  7. end
  8.  
  9. How to lower the water:
  10.  
  11. local aWater = ents.FindByClass("func_water_analog")
  12.  
  13. for i = 1, #aWater do
  14. aWater[i]:Fire("close")
  15. end
  16.  
  17. How to break the glass:
  18.  
  19. local aBreakables = ents.FindByClass("func_breakable")
  20.  
  21. for i = 1, #aBreakables do
  22. aBreakables[i]:Fire("break")
  23. end
  24.  
  25. How to enable the teleports:
  26.  
  27. local aTeleports = ents.FindByClass("trigger_teleport")
  28.  
  29. for i = 1, #aTeleports do
  30. aTeleports[i]:Fire("enable")
  31. end
  32.  
  33. How to disable the teleports:
  34.  
  35. local aTeleports = ents.FindByClass("trigger_teleport")
  36.  
  37. for i = 1, #aTeleports do
  38. aTeleports[i]:Fire("disable")
  39. end
Advertisement
Add Comment
Please, Sign In to add comment