Audio::playSoundFromEntity: 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/f2A7vTj0 <br>No changes made in b678d.<br><br>gtaforums.com/topic/795622-audio-for-mods<br>
All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/f2A7vTj0 <br>No changes made in b678d.<br><br>gtaforums.com/topic/795622-audio-for-mods<br>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.playSoundFromEntity(soundId, audioName, entity, audioRef, p4, p5);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.playSoundFromEntity(soundId, audioName, entity, audioRef, 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/f2A7vTj0
No changes made in b678d.

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

Syntax

mp.game.audio.playSoundFromEntity(soundId, audioName, entity, audioRef, p4, p5);

Required Arguments

  • soundId: int
  • audioName: String
  • entity: Entity handle or object
  • audioRef: String
  • p4: Boolean
  • p5: unknown (to be checked)

Return value

  • Undefined

Example

// todo

See also