Audio::playSound

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

Syntax

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

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

See also

Template:Audio s function c