• 23-01-2008, 13:36:10
    #1
    Selam arkadaslar bir cs:source serverimiz var bu servera giriste 1 sarki caldirabiliyorum ancak servera cikip girdiginizde yine bu sarki caliyo yani sadece 1 sarki eklemeyi biliyorum..

    Istedigim ise her giriste farkli muzik calsin html e 10 adet wav atiyim ve kullanicilar her girdiginde farkli muzik dinlesin.. ornek olarak motd.txt ye 1 sarki calimi icin HTML kodu olarak ekledim bunu birden fazli sarki calmasi icin nasil deistirebilirim ? code asagidadir.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html40...1224/loose.dtd">
    <html>
    <head>
    <title>Cstrike MOTD</title>
    <style type="text/css">
    pre  {
      font-family:Verdana,Tahoma;
      color:#cfcfcf;
         }
    body {
      background:#000000;
      margin-left:8px;
      margin-top:0px;
      }
    a {
         text-decoration:    underline;
     }
    a:link  {
        color:  #ff0000;
        }
    a:visited   {
        color:  #ff0000;
        }
    a:active    {
        color:  #ff0000;
        }
    a:hover {
        color:  #ff0000;
        text-decoration:    underline;
        }
    </style>
    <NOEMBED>
    <BGSOUND src="http://www.yarimadaemlak.com/eminem.wav">
    </NOEMBED>
    </head>
    <body scroll="no">
    <pre>
    Team Extremity [WAR] Server (100 Tickrate)
    xtrmty . Xaroon - (Hakan) - xaroon@teamextremity.com
    xtrmty . Famush1nq. - (Numan) - famush1nq@teamextremity.com
    xtrmty . bbk - (Burak) - bbk@teamextremity.com
    xtrmty . Lee - (Eyup) - lee@teamextremity.com
    xtrmty . r1o de Jener1o - (Suleyman) - r1odejener1o@teamextremity.com
    xtrmty . memo - (Mehmet) - memo@teamextremity.com
    Server Rate Ayarlari: Min 20k 60 60 - Max 25k 100 100
    Sunucuda kufur etmek kesinlikle yasaktir.!
    <a href="http://www.teamextremity.com">www.TeamExtremity.com</a>
    </pre>
    </body>
    </html>
  • 23-01-2008, 15:48:11
    #2
    Arkadaslar yokmu yardim edebilicek ?
  • 24-01-2008, 17:01:43
    #3
    enteresan..
  • 24-01-2008, 18:09:20
    #4
    Üyeliği durduruldu
    Google dan;

    random music html javascript

    benzeri aramalar yap çıkan JS kodlarını dene sana lazım olan tek şey JS ile değişken değerini tanımlılardan birini random olarak almak olacaktır. Bu mantık üzerine dolu kod var.