Skip to main content

Audio::playSound

All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/A8Ny8AHZ

Syntax

```js mp.game.audio.playSound(soundId, audioName, audioRef, p3, p4, p5); ```

Required Arguments

  • soundId: int
  • audioName: String
  • audioRef: String
  • p3: Boolean
  • p4: int
  • p5: Boolean

Return value

  • Undefined

Example

```js mp.game.audio.playSound(-1, "NAV_UP_DOWN", "HUD_FRONTEND_DEFAULT_SOUNDSET", true, 0, true); ```

See also