GuiGetInputEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool guiGetInputEnabled ( bool enabled )
bool guiGetInputEnabled ( )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 17:38, 22 February 2008

This function checks whether user input is going to the GUI or the game.

Syntax

bool guiGetInputEnabled ( )

Returns

Returns true if input is going to GUI, false if it's going to the game.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows