Audio::setRadioToStationIndex: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
Line 1: Line 1:
Sets radio station by index.
Sets radio station by index.
===Radio Stations===
*LosSantosRockRadio = 0
*NonStopPopFM = 1
*RadioLosSantos = 2
*ChannelX = 3
*WestCoastTalkRadio = 4
*RebelRadio = 5
*SoulwaxFM = 6
*EastLosFM = 7
*WestCoastClassics = 8
*BlaineCountyRadio = 9
*TheBlueArk = 10
*WorldWideFM = 11
*FlyloFM = 12
*TheLowdown = 13
*RadioMirrorPark = 14
*Space = 15
*VinewoodBoulevardRadio = 16
*SelfRadio = 17
*TheLab = 18
*RadioOff = 255
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.audio.setRadioToStationIndex(radioStation);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.setRadioToStationIndex(radioStation);</syntaxhighlight>

Latest revision as of 05:32, 18 October 2017

Sets radio station by index.

Radio Stations

  • LosSantosRockRadio = 0
  • NonStopPopFM = 1
  • RadioLosSantos = 2
  • ChannelX = 3
  • WestCoastTalkRadio = 4
  • RebelRadio = 5
  • SoulwaxFM = 6
  • EastLosFM = 7
  • WestCoastClassics = 8
  • BlaineCountyRadio = 9
  • TheBlueArk = 10
  • WorldWideFM = 11
  • FlyloFM = 12
  • TheLowdown = 13
  • RadioMirrorPark = 14
  • Space = 15
  • VinewoodBoulevardRadio = 16
  • SelfRadio = 17
  • TheLab = 18
  • RadioOff = 255

Syntax

mp.game.audio.setRadioToStationIndex(radioStation);

Required Arguments

  • radioStation: int

Return value

  • Undefined

Example

// todo

See also