SetSoundSpeed

From Multi Theft Auto: Wiki
Revision as of 16:58, 2 April 2010 by Awwu (talk | contribs) (Created page with '__NOTOC__ {{Client function}} This function can be used to change the playback speed of the specified sound element. ==Syntax== <syntaxhighlight lang="lua">bool setSoundSpeed ( element t…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function can be used to change the playback speed of the specified sound element.

Syntax

bool setSoundSpeed ( element theSound, float speed )

Required Arguments

  • theSound: The sound element which volume you want to modify.
  • speed: A floating point number representing the desired sound playback speed.

Returns

Returns true if the sound element playback speed was successfully changed, false otherwise.

Example

Click to collapse [-]
Client
--TODO

See Also