ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getSoundEffectParameters

Function

getSoundEffectParameters

ClientSound (client)Identical to MTA:SA

Returns an effect's current parameters: name → value.

Syntax

table getSoundEffectParameters(sound theSound, string effectName)

Arguments

theSoundsound
The sound.
effectNamestring
The effect name.

Returns

A table of parameters or false.

Example

local music = playSound("audio/radio.mp3", true)
iprint(getSoundEffectParameters(music, "reverb"))

See also