Audio::getVehicleDefaultHorn: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Returns hash of default vehicle horn<br><br>Hash is stored in audVehicleAudioEntity==Syntax==<syntaxhighlight lang="javascript">audio.getVehicleDefaultHorn(veh);</syntaxhighlight>=== Required Arguments ===*'''veh:''' Vehicle handle or object===Return value===*'''Model hash or name'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
Returns hash of default vehicle horn<br><br>Hash is stored in audVehicleAudioEntity
==Syntax==
<syntaxhighlight lang="javascript">mp.game.audio.getVehicleDefaultHorn(veh);</syntaxhighlight>
=== Required Arguments ===
*'''veh:''' Vehicle handle or object
===Return value===
*'''Model hash or name'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Audio API]]
[[Category:TODO: Example]]

Latest revision as of 21:04, 11 May 2017

Returns hash of default vehicle horn

Hash is stored in audVehicleAudioEntity

Syntax

mp.game.audio.getVehicleDefaultHorn(veh);

Required Arguments

  • veh: Vehicle handle or object

Return value

  • Model hash or name

Example

// todo

See also