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

Function

guiEditSetMasked

ClientInterface (GUI)Identical to MTA:SA

Hides the typed text with asterisks, e.g. for a password.

Syntax

bool guiEditSetMasked(gui-edit guiEdit, bool status)

Arguments

guiEditgui-edit
The field.
statusbool
true masks it.

Returns

true on success.

Example

local pass = guiCreateEdit(20, 60, 260, 30, "", false)
guiEditSetMasked(pass, true)