GetSoundLength: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 4: Line 4:


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">bool getSoundLength ( element sound )</syntaxhighlight>  
<syntaxhighlight lang="lua">int getSoundLength ( element sound )</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
Line 10: Line 10:


===Returns===
===Returns===
Returns an ''integer'' indicating the length of the sound in mini seconds. (times by 1000 to get seconds)
Returns an ''integer'' indicating the length of the sound. (times by 1000 to get seconds)


==Example==  
==Example==  

Revision as of 19:37, 26 December 2008

Get the sound length.

Syntax

int getSoundLength ( element sound )

Required Arguments

  • sound: a sound element.

Returns

Returns an integer indicating the length of the sound. (times by 1000 to get seconds)

Example

TODO

Click to collapse [-]
Client
--TODO

See Also