GetSoundEffectParameters: 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">table getSoundEff...")
 
No edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}
{{Client function}}
{{New feature/item|3.0159|1.5.8|20921|This function sets parameter of sound effect.}}
{{New feature/item|3.0159|1.5.8|20921|This function gets parameters of a sound effect.}}


==Syntax==  
==Syntax==  

Revision as of 13:13, 6 August 2021

This function gets parameters of a 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