ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiScrollPaneSetScrollBars

Function

guiScrollPaneSetScrollBars

ClientInterface (GUI)Identical to MTA:SA

Sets whether an area shows scroll bars.

Syntax

bool guiScrollPaneSetScrollBars(gui-scrollpane scrollPane, bool horizontal, bool vertical)

Arguments

scrollPanegui-scrollpane
The area.
horizontalbool
Horizontal bar.
verticalbool
Vertical bar.

Returns

true on success.

Example

guiScrollPaneSetScrollBars(pane, false, true)