Skip to main content

Audio::playAmbientSpeechFromPositionNative

Client-side function

JavaScript​

Required Params​

  • speechName: string
  • voiceName: string
  • x: number
  • y: number
  • z: number
  • speechParam: string

Return value​

  • void

Syntax​

mp.game.audio.playAmbientSpeechFromPositionNative(speechName, voiceName, x, y, z, speechParam)

Example​

//todo