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==Syntax==<syntaxhighlight lang="javascript">audio.playSoundFromCoord(soundId, audioName, x, y, z, audioRef, p6, p7, p8);</syntaxhighlight>=== 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==<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/eeFc5DiW<br><br>gtaforums.com/topic/795622-audio-for-mods
==Syntax==
<syntaxhighlight lang="javascript">audio.playSoundFromCoord(soundId, audioName, x, y, z, audioRef, p6, p7, p8);</syntaxhighlight>
=== 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==
<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/eeFc5DiW

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

Syntax

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

Template:Audio function c