View Single Post
Author Message
{7~11} TROLL
Senior Member
Join Date: Oct 2008
Location: Atlanta,Georgia
Old 01-04-2009 , 13:19   Simple_Source_Radio v1.6.8 (updated 2/17/09)
Reply With Quote #1


By: {7~11} 7R011
[Overview]
This plugin is now on its latest version. this version has more features then then the old. some commands have been change since the last update. the old version was removed and replace with the new v1.6.8

[New Features]
menu - menu has the following options.
tune in - starts radio player
no thanks - closes radio menu and shows message how to listen if you change ur mind
radio off - turns off radio and displays thank you for listening
radio status - shows your clans shoutcast dnas (current dj,song,listerns,ect..)
last 10 songs - show the last 10 songs played.

[Requirments]
sourcemod 1.0.4 +
metamod 1.4.4 +
website + ftp access

[Servers With SSR]
~~>here<~~

[Cvars]
sm_radio_href - Link to your you players start page (can customize how ever you like)
sm_radio_href_2 - Link to your players off page (also turns player off, can customize how ever you like)
sm_last10_href - link to your shoutcast last10 songs
sm_radio_status_href - link to your shoutcast dnas page (shows dj,currernt song,listners,ect..)
ssr_welcome_enabled - Enables & Disables SSR Welcome/Help Message
Enabled = 1
Disabled = 0


[Commands]
!listen - Starts Radio Player
!stopmusic - Stop Radio Player
!radiomenu - shows radio menu

[Support]
If you have questions please post or register for my support site

[Screenshots]
This are screenshots on how i got the .htm files customized on our server you can make yours how ever you like. (click for larger images)





[Installing]
simple_source_radio.sp - cstrike/addons/sourcemod/scripting
simple_source_radio.smx - cstrike/addons/sourcemod/plugins
simple_source_radio.htm - after you customize save as .htm and upload to your site
simple_source_radio_off.htm - after you customize save as .htm and upload to your site

[Credits]
Arch~Angel - helped me fix an issue with the off feature

[Update Log]
Code:
[v1.2.2]
[1/05/09]
-Add cvar for radio welcome message
(radio help says ([SSR] To Listen To The Radio Type !listen To Stop The Radio Type !stopmusic)
 
[v1.3.3]
[1/07/09]
-added client message when connting to the radio (only shows once)
[SSR] You Are Now Listening To Simple Source Radio
 
--added client message when disconnecting from radio (only shows once)
[SSR] Thank You For Listening
 
-fixed cvar name
-fixed some coding (nothing was wrong just to run better)
--updated attached files (both .sp & .smx)
 
[v1.6.8]
[2/17/09]
-this is a big update for this plugin ive had some issues with the menu
but thanks to a buddy of mine got it it working really well.
 
--added a menu to the plugin. this menu has options for the following.
-tune in
-no thank you (if you chage ur mind and dont wanna listen)
-radio off
-radio status (shows current dj,song,listeners )
-last10 (shows last 10 songs played)
 
--new plugin files are already added so enjoy.
Attached Files
File Type: txt simple_source_radio.txt (1.7 KB, 2351 views)
File Type: txt simple_source_radio_off.txt (781 Bytes, 1851 views)
File Type: sp Get Plugin or Get Source (simple_source_radio_v1.6.8.sp - 4258 views - 7.1 KB)
File Type: smx simple_source_radio_v1.6.8.smx (4.5 KB, 1505 views)
__________________

Last edited by {7~11} TROLL; 03-28-2009 at 19:23. Reason: updated to v1.6.8
{7~11} TROLL is offline