GetSoundBPM: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|4.0140|1.3.0|4145| This function gets the beats per minute of a specific sound element. }} ==Syntax== <syntaxhighlight lang="lua">int get...")
 
No edit summary
Line 20: Line 20:
</syntaxhighlight>
</syntaxhighlight>
</section>
</section>
==Requirements==
{{Requirements|n/a|1.3.0-9.04162|}}


==See Also==
==See Also==
{{Client_audio_functions}}
{{Client_audio_functions}}

Revision as of 22:36, 10 September 2012

ADDED/UPDATED IN VERSION 1.3.0 r4145:

This function gets the beats per minute of a specific sound element.

Syntax

int getSoundBPM( element sound )

Required Arguments

Returns

Returns the beats per minute of the given sound.

Example

Click to collapse [-]
Client
-- not done yet

Requirements

Minimum server version n/a
Minimum client version 1.3.0-9.04162

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.3.0-9.04162" />

See Also