Audio::setRadioToStationIndex: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Sets radio station by index.==Syntax==<syntaxhighlight lang="javascript">audio.setRadioToStationIndex(radioStation);</syntaxhighlight>=== Required Arguments ===*'''radioStation:''' int===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
 
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==
<syntaxhighlight lang="javascript">mp.game.audio.setRadioToStationIndex(radioStation);</syntaxhighlight>
=== Required Arguments ===
*'''radioStation:''' int
===Return value===
*'''Undefined'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

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