GetSoundProperties

From Multi Theft Auto: Wiki
Revision as of 12:34, 2 January 2014 by Myonlake (talk | contribs)
Jump to navigation Jump to search

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

Before submitting check out Editing Guidelines Script Examples.

This function gets the properties of a specific sound.

Syntax

float, float, float, bool getSoundProperties( element sound )

Required Arguments

Returns

This function returns 3 floats and a boolean value:

The first float is the sound's sample rate, the second one the sound's tempo, and the third one the pitch of the sound. The boolean representing whether the sound is reversed or not.

Example

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

See Also