OnClientPlayerRadioSwitch: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) (New page: __NOTOC__ {{Client event}} This event is triggered whenever a players radio station is changed ==Parameters== <syntaxhighlight lang="lua"> int stationID </syntaxhighlight> *'''stationID''': A int representin...) |
Cazomino05 (talk | contribs) m (Bullet points fixed) |
||
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 | |||
* '''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 | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> |
Revision as of 18:19, 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:
- 1: Playback
- 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
Example
--Todo
See Also
Client player events
- onClientPlayerChangeNick
- onClientPlayerChoke
- onClientPlayerDamage
- onClientPlayerHeliKilled
- onClientPlayerHitByWaterCannon
- onClientPlayerJoin
- onClientPlayerPickupHit
- onClientPlayerPickupLeave
- onClientPlayerQuit
- onClientPlayerRadioSwitch
- onClientPlayerSpawn
- onClientPlayerStealthKill
- onClientPlayerStuntFinish
- onClientPlayerStuntStart
- onClientPlayerTarget
- onClientPlayerVehicleEnter
- onClientPlayerVehicleExit
- onClientPlayerVoicePause
- onClientPlayerVoiceResumed
- onClientPlayerVoiceStart
- onClientPlayerVoiceStop
- onClientPlayerWasted
- onClientPlayerWeaponFire
- onClientPlayerWeaponSwitch
Client Audio functions
- getRadioChannel
- getRadioChannelName
- getSFXStatus
- getSoundBPM
- getSoundBufferLength
- getSoundEffectParameters
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance
- getSoundMetaTags
- getSoundMinDistance
- getSoundPan
- getSoundPosition
- getSoundProperties
- getSoundSpeed
- getSoundVolume
- getSoundWaveData
- isSoundLooped
- isSoundPanningEnabled
- isSoundPaused
- playSFX3D
- playSFX
- playSound3D
- playSound
- setRadioChannel
- setSoundEffectEnabled
- setSoundEffectParameter
- setSoundLooped
- setSoundMaxDistance
- setSoundMinDistance
- setSoundPan
- setSoundPanningEnabled
- setSoundPaused
- setSoundPosition
- setSoundProperties
- setSoundSpeed
- setSoundVolume
- stopSound
- Shared
- playSoundFrontEnd