Audio::playAmbientSpeechAtCoords

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Syntax

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

Required Arguments

  • speechName: String
  • voiceName: String
  • x: float
  • y: float
  • z: float
  • speechParam: String

Return value

  • Undefined

Example

//Plays tazer electrocution pain sound at 0,0,0

mp.game.audio.playAmbientSpeechAtCoords("PAIN_TAZER", "WAVELOAD_PAIN_MALE", 0, 0, 0, "SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL");

See also

Template:Audio s function c