AR/getRadioChannel: Difference between revisions
Jump to navigation
Jump to search
KING-ABADY (talk | contribs) No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
{{AR/Audio_functions}} | {{AR/Audio_functions}} | ||
[[EN:getRadioChannel]] | |||
[[RU:GetRadioChannel]] | |||
[[PL:getRadioChannel]] |
Revision as of 22:19, 5 January 2015
. تحضر هذه الدالة الاي دي لقناة الراديو
Syntax
int getRadioChannel ( )
Returns
. الاي دي لقناة الراديو
- 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
مثال
. هذا المثال يكتب اسم قناة الراديو الحالية في الشات
Click to collapse [-]
ClientaddCommandHandler ( "getradio", function () outputChatBox ( "You're currently listening to " .. getRadioChannelName ( getRadioChannel() ) .. "!" ) end )
أنظر أيضاً
- getSoundBufferLength
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance