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

Function

guiWindowSetSizable

ClientInterface (GUI)Identical to MTA:SA

Sets whether a window can be resized by dragging its edge.

Syntax

bool guiWindowSetSizable(gui-window theElement, bool status)

Arguments

theElementgui-window
The window.
statusbool
false locks it.

Returns

true on success.

Example

guiWindowSetSizable(loginWindow, false)