GetSoundEffects

From Multi Theft Auto: Wiki
Revision as of 16:40, 9 August 2010 by Gamesnert (talk | contribs) (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=== *'…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the states of all effects of a sound.

Syntax

int 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