SetSoundPaused: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client function}} Get the sound length. ==Syntax== <syntaxhighlight lang="lua">bool setSoundPaused ( element sound, bool paused )</syntaxhighlight> ===Required Arguments=== *'''sound:''' a sound e...)
 
m (fixed description)
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}
{{Client function}}
Get the sound length.
Set the sound playing state.


==Syntax==  
==Syntax==  
Line 8: Line 8:
===Required Arguments===  
===Required Arguments===  
*'''sound:''' a sound element.
*'''sound:''' a sound element.
*'''Paused:''' a Boolean value to pause or unpause the sound respectivly.
*'''Paused:''' a boolean value to pause or unpause the sound respectivly.


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

Revision as of 19:43, 26 December 2008

Set the sound playing state.

Syntax

bool setSoundPaused ( element sound, bool paused )

Required Arguments

  • sound: a sound element.
  • Paused: a boolean value to pause or unpause the sound respectivly.

Returns

Returns a bool true if the sound paused false if invalid arguements where passed.

Example

TODO

Click to collapse [-]
Client
--TODO

See Also