Audio::getNetworkIdFromSoundId: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
Line 13: Line 13:
{{Audio_s_function_c}}
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:Audio API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:06, 11 May 2017

Could this be used alongside either,
SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES or _SET_NETWORK_ID_SYNC_TO_PLAYER to make it so other players can hear the sound while online? It'd be a bit troll-fun to be able to play the Zancudo UFO creepy sounds globally.

Syntax

mp.game.audio.getNetworkIdFromSoundId(soundId);

Required Arguments

  • soundId: int

Return value

  • int

Example

// todo

See also