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

Function

guiSetInputMode

ClientInterface (GUI)Identical to MTA:SA

Sets the input mode: "allow_binds" (binds work), "no_binds" (they do not) or "no_binds_when_editing" (they do not while typing in a field).

Syntax

bool guiSetInputMode(string mode)

Arguments

modestring
The mode.

Returns

true on success.

Example

guiSetInputMode("no_binds_when_editing")