[FilterScript] Random Music OnPlayerConnect
#8

Quote:
Originally Posted by GreenEye
View Post
Random Music
PHP Code:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" Random Music By: GreenEye Loaded");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnFilterScriptExit()
{
    print(
"\n--------------------------------------");
    print(
" Random Music By: GreenEye UNLoaded ");
    print(
"--------------------------------------\n");
    return 
1;
}
#else
#endif
public OnPlayerConnect(playerid)
{
        new 
rmusic random(25);
        switch (
rmusic)
        {
        case 
0PlayAudioStreamForPlayer(playerid,"https://xsfserver.com/music/Club.mp3");
        case 
1PlayAudioStreamForPlayer(playerid,"https://a.tumblr.com/tumblr_mmx0g4qjil8omo1.mp3");
        case 
2PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BitchesLoveMe.mp3");
        case 
3PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BigPoppa.mp3");
        case 
4PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BitchesandBottles.mp3");
        case 
5PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/CountingStars.mp3");
        case 
6PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/LoveSosa.mp3");
        case 
7PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Gangnam.mp3");
        case 
8PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Forever.mp3");
        case 
9PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Sexy.mp3");
        case 
10PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/SexyChick.mp3");
        case 
11PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/SmokeANigga.mp3");
        case 
12PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/RapGod.mp3");
        case 
13PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/animals.mp3");
        case 
14PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/sPartyRocking.mp3");
        case 
15PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/WhatIsLove.mp3");
        case 
16PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/WildBoy.mp3");
        case 
17PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/MyLife.mp3");
        case 
18PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Lights.mp3");
        case 
19PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/LetItRock.mp3");
        case 
20PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/GoodLife.mp3");
        case 
21PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/HotNigga.mp3");
        case 
22PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/i4t87fvile4omxj/AlorsStremae.mp3?dl=1");
        case 
23PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/vaidubo8ftyv1ce/La%20Policia.mp3?dl=1");
        case 
24PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/54h4ijc7ffxftdx/Black%20Widow.mp3?dl=1");
        case 
25PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/hhn2bf160tgzn0g/MemoriesDG.mp3?dl=1");
        }
        return 
1;

Awesome! REPD!

(rep me back please)
Reply


Messages In This Thread
Random Music OnPlayerConnect - by GreenEye - 11.09.2015, 10:58
Re: Random Music OnPlayerConnect - by DeathFire - 11.09.2015, 13:54
Re: Random Music OnPlayerConnect - by ._Xavier$$ - 11.09.2015, 13:55
Re: Random Music OnPlayerConnect - by GreenEye - 11.09.2015, 17:51
Respuesta: Random Music OnPlayerConnect - by OTACON - 12.09.2015, 01:26
Re: Random Music OnPlayerConnect - by SecretBoss - 12.09.2015, 07:58
Re: Random Music OnPlayerConnect - by GreenEye - 12.09.2015, 13:22
Re: Random Music OnPlayerConnect - by XBrianX - 13.09.2015, 15:38
Re: Random Music OnPlayerConnect - by Roberto80 - 13.09.2015, 16:21
Re: Random Music OnPlayerConnect - by SecretBoss - 13.09.2015, 16:31

Forum Jump:


Users browsing this thread: 2 Guest(s)