SetBrowserVolume: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client function}} __NOTOC__ This function sets either a specific browser's volume, or the overall volume for browsers. ==Syntax== <syntaxhighlight lang="lua"> bool set...")
(No difference)

Revision as of 19:22, 29 September 2014

This function sets either a specific browser's volume, or the overall volume for browsers.

Syntax

bool setBrowserVolume ( [browser webBrowser], float volume )

Required Arguments

  • volume: A floating point number representing the desired volume level. Range is from 0.0 to 1.0

Optional Arguments

  • webBrowser: A browser element

Example

--todo

See Also