Advertisement
architectt

Untitled

Jan 8th, 2021
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.81 KB | None | 0 0
  1.                     if (ImGui.BeginTabItem("Doors")) then
  2.                         ImGui.Spacing()
  3.  
  4.                         ImGui.SameLine(8)
  5.                         ImGui.BeginGroup()
  6.                         ImGui.Text("Basic")
  7.                         if (ImGui.Button("Open", halfButtonWidth, buttonHeight)) then
  8.                             CityHack.Door.Open()
  9.                         end
  10.  
  11.                         ImGui.SameLine((halfButtonWidth + 2))
  12.                         if (ImGui.Button("Close", halfButtonWidth, buttonHeight)) then
  13.                             CityHack.Door.Close()
  14.                         end
  15.                         ImGui.Spacing()
  16.                         ImGui.EndGroup()
  17.  
  18.                         ImGui.NewLine()
  19.  
  20.                         ImGui.SameLine(8)
  21.                         ImGui.BeginGroup()
  22.                         ImGui.Spacing()
  23.                         ImGui.Text("Locks / Seals")
  24.                         if (ImGui.Button("Toggle Lock", halfButtonWidth, buttonHeight)) then
  25.                             CityHack.Door.ToggleLock()
  26.                         end
  27.  
  28.                         ImGui.SameLine((halfButtonWidth + 2))
  29.                         if (ImGui.Button("Toggle Seal", halfButtonWidth, buttonHeight)) then
  30.                             CityHack.Door.ToggleSeal()
  31.                         end
  32.                         ImGui.Spacing()
  33.                         ImGui.EndGroup()
  34.  
  35.  
  36.                         ImGui.BeginGroup()
  37.                         ImGui.Spacing()
  38.                         ImGui.Text("Other")
  39.                         if (ImGui.Button("Set Auto Door", buttonWidth, buttonHeight)) then
  40.                             CityHack.Door.Auto()
  41.                         end
  42.                         ImGui.EndGroup()
  43.                     ImGui.EndTabItem()
  44.                     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement