Element/Sound

From Multi Theft Auto: Wiki
(Redirected from Sound)
Jump to:navigation, search

The sound element represents a custom sound sent to the client via the use of the file parameter inside the meta file and created either by playSound or playSound3D.

A sound element is created using playSound3D or playSound and can be manipulated with the following element functions:.

  • setElementPosition
  • setElementDimension


Sound elements can also be manipulated using the other Client audio functions.


The element type of this class is "sound".

Related scripting functions

Client

  • getRadioChannel
  • getRadioChannelName
  • getSFXStatus
  • getSoundBPM
  • getSoundBufferLength
  • getSoundEffects
  • getSoundFFTData
  • getSoundLength
  • getSoundLevelData
  • getSoundMaxDistance
  • getSoundMetaTags
  • getSoundMinDistance
  • getSoundPan
  • getSoundPosition
  • getSoundProperties
  • getSoundSpeed
  • getSoundVolume
  • getSoundWaveData
  • isSoundPanningEnabled
  • isSoundPaused
  • playSFX
  • playSFX3D
  • playSound
  • playSound3D
  • playSoundFrontEnd
  • setRadioChannel
  • setSoundEffectEnabled
  • setSoundMaxDistance
  • setSoundMinDistance
  • setSoundPan
  • setSoundPanningEnabled
  • setSoundPaused
  • setSoundPosition
  • setSoundProperties
  • setSoundSpeed
  • setSoundVolume
  • stopSound
Retrieved from "https://wiki.multitheftauto.com/index.php?title=Element/Sound&oldid=55988"
Category:
  • Element Types

Navigation menu

Views

  • Page
  • Discussion
  • View source
  • History

Personal tools

  • Create account
  • Log in

Navigation

  • Home
  • How you can help
  • Recent changes
  • Random page

reference

  • Client Functions
  • Client Events
  • Server Functions
  • Server Events
  • Shared Functions
  • Useful Functions
  • MTA Classes
  • MTA Elements
  • Element Tree

 

Tools

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

In other languages

  • Magyar
  • Русский
GNU Free Documentation License 1.2
Powered by MediaWiki
  • This page was last edited on 18 July 2018, at 22:35.
  • Content is available under GNU Free Documentation License 1.2 unless otherwise noted.
  • Privacy policy
  • About Multi Theft Auto: Wiki
  • Disclaimers