GetSoundLevelData: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{New feature/item|4.0140|1.3.0|4162|
{{New feature/item|4.0140|1.3.0|4162|
Get a sound level data from [[sound]] [[element]].
Get a sound level data from [[sound]] [[element]].
}}<br />
}}
<br />


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">int Left, int Right getSoundLevelData( element theSound )</syntaxhighlight>  
<syntaxhighlight lang="lua">int, int getSoundLevelData ( element theSound )</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
Line 14: Line 13:
===Returns===
===Returns===
Returns a 2 values with Left, Right level data from sound, ''false'' otherwise.
Returns a 2 values with Left, Right level data from sound, ''false'' otherwise.
==Example==
TODO
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>


==Requirements==
==Requirements==

Revision as of 13:01, 17 September 2012