Audio::playSound: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
Line 1: Line 1:
All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/A8Ny8AHZ
All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/A8Ny8AHZ
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.playSound(soundId, audioName, audioRef, p3, p4, p5);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.playSound(soundId, audioName, audioRef, p3, p4, p5);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''soundId:''' int
*'''soundId:''' int

Revision as of 21:04, 6 May 2017

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: unknown (to be checked)
  • p5: Boolean

Return value

  • Undefined

Example

// todo

See also