SRCDS Steam group


listen music when u join!
#1
Big Grin 
If u want when u join ur server to listen ur fav song...
Upload ur mp3 to ur webhost (I use dropbox its free and easy) and take the link...
Then use this code and
place it to motd...
Code:
<html>
<head><title>My Song</title></head>
<body>
<embed src="http://dl.dropbox.com/u/4611843/cstrike/Jakarta_-_One_Desire.mp3" width="0" height="2" autoplay="true"></embed>
</body>
</html>
<head>
NOTE: Edit width="0" and height="2" if u want to see the playlist bar!

An example of motd.txt
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head><title>Little Joe's Sound Page</title></head>
<body>
<embed src="http://dl.dropbox.com/u/4611843/cstrike/Jakarta_-_One_Desire.mp3" width="0" height="2" autoplay="true"></embed>
</body>
</html>
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
pre     {
        font-family:Verdana,Tahoma;
        color:#FFB000;
        }
body    {
        background:#000000;
        margin-left:8px;
        margin-top:0px;
        }
a    {
        text-decoration:    underline;
    }
a:link  {
    color:  #FFFFFF;
    }
a:visited   {
    color:  #FFFFFF;
    }
a:active    {
    color:  #FFFFFF;
    }
a:hover {
    color:  #FFFFFF;
    text-decoration:    underline;
    }
</style>
</head>
<body scroll="no">
<pre>
<br>
<br>
<center><font size="+2">Welcome to
<br>
<center><font size="+2">CSS SERVER 4noobs
<br>
</pre>
</body>
</html>
<center><img src="http://www.airbornegamer.com/wp-content/uploads/2010/06/cs_source_wallpaper_steam_CSS.jpg" width="500" height="250">

*If u want to preview ur motd out of game , just rename it for a while to .html and open it!
Hope i helped!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)