Radio For Cars (Not my)
Video
http://www.youtube.com/watch?v=ej3OitlIAKU&feature=player_embeddedInformation:
1. Textdraws with title of radio look like game radio.
2. Keys for control: Left CTRL and Right CTRL <-- (FIRE + SPACE).
3. Volume control for AudioPlugin version. Keys for control: Num8 and Num2. Default volume is 30 percent.
4. If driver changes radio, it changes for passenger too.
Exception for AudioPlugin version : If player doesn't use AudioPlugin client path, he can't change radio and it doesn't change for him if he is a passenger.
5. Radiostations are stored in vehicles.
6. Auto-configuration of variables and auto-calculating TextDraw's titles.
7. Setup random radiostation in each vehicle (From list of radiostation of course).
Download:
http://www.mediafire.com/?ec5npy7jsw0f1tcNotice: Radiostations in video are different from FS. For reading params of radio there is used mxINI that avaliable in archive.
How to add more radio:
In ''scriptfiles'' folder there is ''radio_settings.ini'' file. Open it.
''Radios'' - number of radio for your server.
''Radio_Title#'' - title of radio of radio with number #.
''Radio_URL#'' - URL for radio with number with number #.
Change number in ''Radios'' param and fill lines with ''Radio_Title#'' and ''Radio_URL#''. Example:
PHP Code:
Radios = 7
Radio_Title1 = I.First!
Radio_URL1 =
http://i.url.for.first.radio Radio_Title2 = I.Second!
Radio_URL2 =
http://i.url.for.second.radio //...and like for third, and fourth...
Radio_Title7 = I.Seventh!
Radio_URL7 =
http://i.url.for.seventh.radio Don't make line to be empty. But if you make it there will be problems in working of script.
How to get IP of radiostation:
Example, Shoutcast.com.
Select radio that you like. Click by RMB on title of radio and click ''Save as...''. You'll get playlist of radio. Open it in any media player. You'll see avaliable IPs of current radiostation. They are tracks. Just see properties of track and you'll find IP.
Changelog:
22.05.2012: Fixed bug with arrays.