Audio::getNetworkIdFromSoundId

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

Template:Audio s function c