SetSoundEffectParameter

From Multi Theft Auto: Wiki
Revision as of 13:40, 7 August 2021 by StrixG (talk | contribs)
Jump to navigation Jump to search

This function sets a parameter of a sound effect.

Syntax

bool setSoundEffectParameter( element sound, string effectName, string effectParam, var paramValue )

Required Arguments

  • sound: the sound element.
  • effectName: the effect name.
  • effectParam: the parameter name.
  • paramValue: the parameter value.

Returns

Returns true if everything went well, error is raised otherwise.

Parameters

Requirements

This template will be deleted.

Example

Click to collapse [-]
Client
setSoundEffectParameter(sound, "echo", "leftDelay", 500)

See Also