SetBrowserVolume

From Multi Theft Auto: Wiki
Revision as of 15:45, 18 August 2015 by Miki785 (talk | contribs)
Jump to navigation Jump to search

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

Before submitting check out Editing Guidelines Script Examples.

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

Syntax

bool setBrowserVolume ( [browser webBrowser], float volume )

OOP Syntax Help! I don't understand this!

Method: browser:setVolume(...)
Counterpart: setBrowserVolume


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