OnClientPlayerRadioSwitch: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Cancel effect added)
No edit summary
Line 10: Line 10:
*'''stationID''': A [[int]] representing the station the player switched to.
*'''stationID''': A [[int]] representing the station the player switched to.
Station ID's:
Station ID's:
* '''1:''' Playback
{{SoundID}}
* '''2:''' K ROSE
* '''3:''' K-DST
* '''4:''' Bounce
* '''5:''' SF-UR
* '''6:''' Radio Los Santos
* '''7:''' Radio X
* '''8:''' CSR 103.9
* '''9:''' K-Jah West
* '''10:''' Master Sounds 98.3
* '''11:''' WCTR
* '''12:''' User Track Player
==Cancel effect==
==Cancel effect==
If this event is [[Event system#Canceling|canceled]], the Radio station will not change.
If this event is [[Event system#Canceling|canceled]], the Radio station will not change.

Revision as of 18:27, 25 March 2009

This event is triggered whenever a players radio station is changed

Parameters

int stationID
  • stationID: A int representing the station the player switched to.

Station ID's:

  • 0: Radio Off
  • 1: Playback FM
  • 2: K-Rose
  • 3: K-DST
  • 4: Bounce FM
  • 5: SF-UR
  • 6: Radio Los Santos
  • 7: Radio X
  • 8: CSR 103.9
  • 9: K-Jah West
  • 10: Master Sounds 98.3
  • 11: WCTR
  • 12: User Track Player

Cancel effect

If this event is canceled, the Radio station will not change.

Example

--Todo

See Also

Client player events


Client Audio functions