Skip to main content

Audio::playPedAmbientSpeechWithVoiceNative

Client-side function

JavaScript​

Required Params​

  • ped: number
  • speechName: string
  • voiceName: string
  • speechParam: string
  • p4: boolean

Return value​

  • void

Syntax​

mp.game.audio.playPedAmbientSpeechWithVoiceNative(ped, speechName, voiceName, speechParam, p4)

Example​

//todo