GetSoundEffectParameters

From Multi Theft Auto: Wiki
Revision as of 13:08, 6 August 2021 by StrixG (talk | contribs) (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">table getSoundEff...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets parameter of sound effect.

Syntax

table getSoundEffectParameters( element sound, string effectName )

Required Arguments

  • sound: the sound element.
  • effectName: the effect name.

Returns

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

Parameters

Requirements

Minimum server version n/a
Minimum client version 1.5.8-9.20921

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.5.8-9.20921" />

Example

Click to collapse [-]
Client
getSoundEffectParameters(

See Also