StopSound: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client function}} Stops any created sound. ==Syntax== <syntaxhighlight lang="lua">bool stopSound ( string sound )</syntaxhighlight> ===Required Arguments=== *'''sound:''' Name of the sound you wan...)
 
No edit summary
Line 4: Line 4:


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">bool stopSound ( string sound )</syntaxhighlight>  
<syntaxhighlight lang="lua">bool stopSound ( element sound )</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''sound:''' Name of the sound you want to stop.
*'''sound:''' the sound you want to stop.


===Returns===
===Returns===

Revision as of 19:23, 26 December 2008

Stops any created sound.

Syntax

bool stopSound ( element sound )

Required Arguments

  • sound: the sound you want to stop.

Returns

Returns true if the sound was successfully stopped, false otherwise.


Example

TODO

Click to collapse [-]
Client
--TODO

See Also