GetSoundPosition: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Code fix)
Line 4: Line 4:


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">integer getSoundPosition ( string sound )</syntaxhighlight>  
<syntaxhighlight lang="lua">int getSoundPosition ( string sound )</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  

Revision as of 19:36, 26 December 2008

Get sound position in the GTA world.

Syntax

int getSoundPosition ( string sound )

Required Arguments

  • sound: Name of the sound.

Returns

Returns anintegers indicating the position of the sound in mini seconds. (times by 1000 to get seconds)

Example

TODO

Click to collapse [-]
Client
--TODO

See Also