SetSoundEffectParameter: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0159|1.5.8|20921|This function sets parameter of sound effect.}} ==Syntax== <syntaxhighlight lang="lua">bool setSoundEffe...")
(No difference)

Revision as of 12:59, 6 August 2021

This function sets parameter of sound effect.

Syntax

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

Required Arguments

  • sound: the sound.
  • effectName: the effect.
  • effectParam: the parameter.
  • value: 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

See Also