SetBrowserVolume: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Jusonex moved page Cef/setBrowserVolume to SetBrowserVolume)
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
{{Needs Example}}
{{New feature/item|3.0150|1.5||
{{New feature/item|3.0150|1.5||
This function sets either a specific [[Element/Browser|browser]]'s volume, or the overall volume for browsers.
This function sets either a specific [[Element/Browser|browser]]'s volume, or the overall volume for browsers.

Revision as of 15:45, 18 August 2015

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