AR/getRadioChannelName: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 30: | Line 30: | ||
{{AR/Audio_functions}} | {{AR/Audio_functions}} | ||
[[EN:getRadioChannelName]] | |||
[[HU:GetRadioChannelName]] | |||
[[RU:GetRadioChannelName]] | |||
[[PL:GetRadioChannelName]] | |||
[[RO:GetRadioChannelName]] |
Revision as of 14:51, 1 May 2020
. هذه الدالة الحصول على اسم قناة راديو معين
Syntax
string getRadioChannelName ( int id )
Required Arguments
- id: . الاي دي محطة الراديو التي تريد الحصول على الاسم.من رقم من 0 إلى 12
- 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
Returns
Returns a string containing the station name if successful, false otherwise.
مثال
Click to collapse [-]
ClientaddCommandHandler("getradio", function() outputChatBox("You're currently listening to "..getRadioChannelName(getRadioChannel()).."!") end )
أنظر أيضاً
- getSoundBufferLength
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance