11.09.2015, 10:58
(
Last edited by GreenEye; 11/09/2015 at 06:21 PM.
)
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 0: PlayAudioStreamForPlayer(playerid,"https://xsfserver.com/music/Club.mp3");
case 1: PlayAudioStreamForPlayer(playerid,"https://a.tumblr.com/tumblr_mmx0g4qjil8omo1.mp3");
case 2: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BitchesLoveMe.mp3");
case 3: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BigPoppa.mp3");
case 4: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BitchesandBottles.mp3");
case 5: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/CountingStars.mp3");
case 6: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/LoveSosa.mp3");
case 7: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Gangnam.mp3");
case 8: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Forever.mp3");
case 9: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Sexy.mp3");
case 10: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/SexyChick.mp3");
case 11: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/SmokeANigga.mp3");
case 12: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/RapGod.mp3");
case 13: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/animals.mp3");
case 14: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/sPartyRocking.mp3");
case 15: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/WhatIsLove.mp3");
case 16: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/WildBoy.mp3");
case 17: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/MyLife.mp3");
case 18: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Lights.mp3");
case 19: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/LetItRock.mp3");
case 20: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/GoodLife.mp3");
case 21: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/HotNigga.mp3");
case 22: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/i4t87fvile4omxj/AlorsStremae.mp3?dl=1");
case 23: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/vaidubo8ftyv1ce/La%20Policia.mp3?dl=1");
case 24: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/54h4ijc7ffxftdx/Black%20Widow.mp3?dl=1");
case 25: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/hhn2bf160tgzn0g/MemoriesDG.mp3?dl=1");
}
return 1;
}