Audio::playSoundFromEntity: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
Line 13: Line 13:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Audio_function_c}}
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 20:59, 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

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