Author Topic: ♫ Server Music ♫ || Update! December 4th  (Read 12413 times)


I cannot believe this hasn't been made before.

Great work!
Pretty sure wrapperup did. But idk about releasing it.

Code: [Select]
%chance = getRandom(1, 22);
switch(%chance)
{
case 1:
$SM_CurrentSong = "After School Special";
case 2:
$SM_CurrentSong = "Acland Suite";
case 3:
$SM_CurrentSong = "Ambler";
case 4:
$SM_CurrentSong = "Animal Rights";
case 5:
$SM_CurrentSong = "Bangarang";
case 6:
$SM_CurrentSong = "Bass 1";
case 7:
$SM_CurrentSong = "Drums";
case 8:
$SM_CurrentSong = "Factory";
case 9:
$SM_CurrentSong = "Harold";
case 10:
$SM_CurrentSong = "Icy";
case 11:
$SM_CurrentSong = "Jaunty Gumption";
case 12:
$SM_CurrentSong = "Jungle";
case 13:
$SM_CurrentSong = "Lights";
case 14:
$SM_CurrentSong = "Mellowtron";
case 15:
$SM_CurrentSong = "Move Forward";
case 16:
$SM_CurrentSong = "Peaceful";
case 17:
$SM_CurrentSong = "Piano Bass";
case 18:
$SM_CurrentSong = "Pinball Spring";
case 19:
$SM_CurrentSong = "Radioactive";
case 20:
$SM_CurrentSong = "Rock";
case 21:
$SM_CurrentSong = "Silly Fun";
case 22:
$SM_CurrentSong = "What No Universe";
default:
$SM_CurrentSong = "After School Special";
$SM_CurrentSongAuthor = "Eric Hartman";
}
Why did you hard code this

Important Update! Re-Download!
Made SM_PlayRandomSong not a hard-coded version, I forgot to update that upon releasing.
ADDED EVENTS:
onActivate > self > setServerMusic > Random/Selection > Song

real nice zpak keep it up




Yes, why?
He just hasn't payed attention to anything going on.

I remember using this same method for Adjustable Plate, it always crashed players.

I remember using this same method for Adjustable Plate, it always crashed players.
I used this on my deathrun a while back, it worked fine. Nobody crashed or even lagged from it.

For some reason it takes a very, very long time to actually start playing the music. Any knowledge on why?

Only I can hear it, nobody else.

Only I can hear it, nobody else.
Then you're doing it wrong.

Then you're doing it wrong.
Actually it could be that the other people don't have the sounds downloaded.