GetRadioChannelName: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
string getRadioChannelName ( int ID )             
string getRadioChannelName ( int id )             
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''ID:''' The ID of the radio station you want to get the name of. It is a number between 0 and 12 (12 inclusive).
*'''id:''' The ID of the radio station you want to get the name of. It is a number between 0 and 12 (12 inclusive).


===Returns===
===Returns===
Returns a string containing the station name if function successful, ''false'' otherwise.
Returns a string containing the station name if successful, ''false'' otherwise.


==Example==
==Example==

Revision as of 22:15, 30 March 2009