SetSoundPaused

From Multi Theft Auto: Wiki
Revision as of 20:52, 26 December 2008 by Awwu (talk | contribs)
Jump to navigation Jump to search

This function is used to either pause or unpause the playback of the specified sound element.

Syntax

bool setSoundPaused ( element theSound, bool paused )

Required Arguments

  • theSound: The sound element which you want to pause/unpause.
  • paused: A boolean value representing whether the sound should be paused or not. To pause the sound, use true.

Returns

Returns true if the sound element was successfully paused, false otherwise.

Example

TODO

Click to collapse [-]
Client
--TODO

See Also