SetSoundProperties: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
==See Also==
==See Also==
{{Client_audio_functions}}
{{Client_audio_functions}}
[[Category:Needs Example]]

Revision as of 08:59, 6 October 2012

ADDED/UPDATED IN VERSION 1.3.0 r4097:

This function edit's the properties of a specific sound.

Syntax

bool setSoundProperties(element sound, float fSampleRate, float fTempo, float fPitch, bool bReverse )

Required Arguments

  • fSampleRate: A float that defines the new sound's sample rate
  • fTempo: A float that defines the new sound tempo
  • fPitch: A float that defines the new sound pitch
  • bReverse: A boolean representing whether the sound will be reversed or not.

Returns

Returns true if the properties sucessfully set, false otherwise.

Example

Click to collapse [-]
Client
-- not done yet

See Also