RAGE.Game.Audio.PlaySoundFrontend

From RAGE Multiplayer Wiki
Revision as of 03:56, 5 June 2020 by Jer (talk | contribs) (added)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Plays a front end sound.
All front end audio sounds with parameters. https://pastebin.com/0neZdsZ5


Syntax

RAGE.Game.Audio.PlaySoundFrontend(int soundId, string audioName, string audioRef, bool p3)

Example

Required Arguments

  • soundId: int soundId
  • audioName : string audioName
  • audioRef: string audioRef
  • p3: bool p3

Example

C# Syntax

Parameters

Example

This example will play the sound specified. Sound ID and parameters can be found on the pastebin at the top of the page

public void PlaySoundFrontend()
{
RAGE.Game.Audio.PlaySountFrontend(-1, "10s", "MP_MISSION_COUNTDOWN_SOUNDSET", false);
}