IsBrowserFocused: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client_function}} {{Needs Example}} This function checks if a browser is focused. ==Syntax== <syntaxhighlight lang="lua"> bool isBrowserFocused ( browser webBrowser ) </syntaxhighlight> {{...")
 
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client_function}}
{{Client function}}
{{Needs Example}}
{{Needs Example}}
This function checks if a browser is focused.
This function checks if a browser is focused.

Revision as of 20:14, 15 September 2015

Accessories-text-editor.png Script Example Missing Function IsBrowserFocused needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function checks if a browser is focused.

Syntax

bool isBrowserFocused ( browser webBrowser )

OOP Syntax Help! I don't understand this!

Method: browser:isFocused(...)


Required arguments

  • webBrowser: The browser

Returns

Returns true if the browser is focused, false otherwise and nil if invalid arguments were passed.

Example

TODO

See Also