Difference between revisions of "GetSoundEffects"

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with '__NOTOC__ {{Client function}} Returns the states of all effects of a sound. ==Syntax== <syntaxhighlight lang="lua">int getSoundEffects ( element sound )</syntaxhighlight> ===Required Arguments=== *'…')
 
m
Line 4: Line 4:
  
 
==Syntax==  
 
==Syntax==  
<syntaxhighlight lang="lua">int getSoundEffects ( element sound )</syntaxhighlight>  
+
<syntaxhighlight lang="lua">table getSoundEffects ( element sound )</syntaxhighlight>  
  
 
===Required Arguments===  
 
===Required Arguments===  

Revision as of 16:53, 9 August 2010

Returns the states of all effects of a sound.

Syntax

table getSoundEffects ( element sound )

Required Arguments

Returns

Returns a table with the effect names as the keys, and their states as the values if successful. Otherwise, it returns false.

Sound effect names:

  • gargle
  • compressor
  • echo
  • i3dl2reverb
  • distortion
  • chorus
  • parameq
  • reverb
  • flanger

Example

-- TODO

See Also

BETA: FROM VERSION 1.5.8 r20785 ONWARDS
BETA: FROM VERSION 1.5.8 r20785 ONWARDS