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>==Syntax==<syntaxhighlight lang="javascript">audio.playSoundFromEntity(soundId, audioName, entity, audioRef, p4, p5);</syntaxhighlight>=== Required Arguments ===*'''soundId:''' int*'''audioName:''' String*'''entity:''' Entity handle or object*'''audioRef:''' String*'''p4:''' Boolean*'''p5:''' unknown (to be checked)===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
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==
<syntaxhighlight lang="javascript">audio.playSoundFromEntity(soundId, audioName, entity, audioRef, p4, p5);</syntaxhighlight>
=== Required Arguments ===
*'''soundId:''' int
*'''audioName:''' String
*'''entity:''' Entity handle or object
*'''audioRef:''' String
*'''p4:''' Boolean
*'''p5:''' unknown (to be checked)
===Return value===
*'''Undefined'''
==Example==
<syntaxhighlight lang="javascript">
todo
</syntaxhighlight>
==See also==
{{Audio_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Revision as of 19:54, 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

Template:Audio function c