Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to raise the water:
- local aWater = ents.FindByClass("func_water_analog")
- for i = 1, #aWater do
- aWater[i]:Fire("open")
- end
- How to lower the water:
- local aWater = ents.FindByClass("func_water_analog")
- for i = 1, #aWater do
- aWater[i]:Fire("close")
- end
- How to break the glass:
- local aBreakables = ents.FindByClass("func_breakable")
- for i = 1, #aBreakables do
- aBreakables[i]:Fire("break")
- end
- How to enable the teleports:
- local aTeleports = ents.FindByClass("trigger_teleport")
- for i = 1, #aTeleports do
- aTeleports[i]:Fire("enable")
- end
- How to disable the teleports:
- local aTeleports = ents.FindByClass("trigger_teleport")
- for i = 1, #aTeleports do
- aTeleports[i]:Fire("disable")
- end
Advertisement
Add Comment
Please, Sign In to add comment