Audio::playSoundFromCoord: 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/eeFc5DiW<br><br>gtaforums.com/topic/795622-audio-for-mods
All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/eeFc5DiW<br><br>gtaforums.com/topic/795622-audio-for-mods
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.playSoundFromCoord(soundId, audioName, x, y, z, audioRef, p6, p7, p8);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.playSoundFromCoord(soundId, audioName, x, y, z, audioRef, p6, p7, p8);</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/eeFc5DiW

gtaforums.com/topic/795622-audio-for-mods

Syntax

mp.game.audio.playSoundFromCoord(soundId, audioName, x, y, z, audioRef, p6, p7, p8);

Required Arguments

  • soundId: int
  • audioName: String
  • x: float
  • y: float
  • z: float
  • audioRef: String
  • p6: Boolean
  • p7: unknown (to be checked)
  • p8: Boolean

Return value

  • Undefined

Example

// todo

See also