guiGetInputMode | Multi Theft Auto: Wiki Skip to content

guiGetInputMode

Client-side
Server-side
Shared

Pair: guiSetInputMode

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function returns the current input mode as set by guiSetInputMode. Default mode is "allow_binds".

OOP Syntax Help! I don't understand this!

Syntax

string guiGetInputMode ( )

Returns

  • string: value

Returns a string defining the current input mode, potential values are:

Code Examples

shared
addCommandHandler( "checkmode",
function ()
outputChatBox( string.format( "The current input mode is: '%s'", guiGetInputMode () ) )
end )

See Also

GUI Functions