|
|
| Line 1: |
Line 1: |
| __NOTOC__
| | '''Hacked By Ameir''' |
| {{Client function}}
| |
| The function is used to retrieve the ID of the current radio channel.
| |
|
| |
|
| ==Syntax==
| | http://facebook.com/AhmedAlramSisYy |
| <syntaxhighlight lang="lua">
| |
| int getRadioChannel ( )
| |
| </syntaxhighlight>
| |
| | |
| ===Returns===
| |
| Returns the ID of the radio channel.
| |
| {{SoundID}}
| |
| | |
| ==Example==
| |
| This example prints out the name of your current radio station to the chat box.
| |
| <syntaxhighlight lang="lua">
| |
| addCommandHandler ( "getradio",
| |
| function ()
| |
| outputChatBox ( "You're currently listening to " .. getRadioChannelName ( getRadioChannel() ) .. "!" )
| |
| end
| |
| )
| |
| </syntaxhighlight>
| |
| | |
| ==See Also==
| |
| | |
| {{Client_audio_functions}}
| |
| [[EN:GetRadioChannel]]
| |
| [[HU:GetRadioChannel]]
| |
| [[AR:getRadioChannel]]
| |
| [[RU:GetRadioChannel]]
| |
| [[PL:GetRadioChannel]]
| |
| [[RO:GetRadioChannel]]
| |
| [[PT-BR:GetRadioChannel]]
| |
Revision as of 16:25, 26 September 2021