RO/getRadioChannel: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Vinyard moved page RO/GetRadioChannel to RO/getRadioChannel: Changed GetRadioChannel to getRadioChannel.)  | 
				mNo edit summary  | 
				||
| (2 intermediate revisions by one other user not shown) | |||
| Line 26: | Line 26: | ||
{{RO/Funcții_audio_client}}  | {{RO/Funcții_audio_client}}  | ||
[[  | |||
[[  | [[ar:getRadioChannel]]  | ||
[[  | [[de:getRadioChannel]]  | ||
[[  | [[hu:getRadioChannel]]  | ||
[[  | [[pl:getRadioChannel]]  | ||
[[en:getRadioChannel]]  | |||
[[ru:GetRadioChannel]]  | |||
[[PT-BR:GetRadioChannel]]  | |||
Latest revision as of 15:12, 11 June 2023
Această funcție obține ID-ul stației radio active în acel moment.
Sintaxă
int getRadioChannel ()
Redare
Redă ID-ul stației radio.
- 0: Radio Oprit
 - 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
 
Exemplu
Acest exemplu inserează în chat box ID-ul stației radio curente atunci când este folosită comanda /getradio.
addCommandHandler("getradio",
    function ()
        outputChatBox("În prezent asculți stația radio #" .. getRadioChannelName(getRadioChannel()) .. "!")
    end
)
Vizualizați de asemenea
- RO/getRadioChannel
 - RO/getRadioChannelName
 - RO/getSFXStatus
 - RO/getSoundBPM
 - RO/getSoundEffects
 - RO/getSoundFFTData
 - RO/getSoundLength
 - RO/getSoundLevelData
 - RO/getSoundMaxDistance
 - RO/getSoundMetaTags
 - RO/getSoundMinDistance
 - RO/getSoundPan
 - RO/getSoundPosition
 - RO/getSoundProperties
 - RO/getSoundSpeed
 - RO/getSoundVolume
 - RO/getSoundWaveData
 - RO/isSoundPanningEnabled
 - RO/isSoundPaused
 - RO/playSFX
 - RO/playSFX3D
 - RO/playSound
 - RO/playSound3D
 - RO/playSoundFrontEnd
 - RO/setRadioChannel
 - RO/setSoundEffectEnabled
 - RO/setSoundMaxDistance
 - RO/setSoundMinDistance
 - RO/setSoundPan
 - RO/setSoundPanningEnabled
 - RO/setSoundPaused
 - RO/setSoundPosition
 - RO/setSoundProperties
 - RO/setSoundSpeed
 - RO/setSoundVolume
 - RO/stopSound