Search the Community
Showing results for tags 'music'.
Found 4 results
-
Dear all. Since I'm not really master of C++ or any other languages, I want to introduce my idea. Basically the idea is taken off from Garry's Mod, An in-game musicbox, as you mention, yes, it allows the players to listen music which stored a server, or even an internet radio. The menu should need an external gsc or gsx script to control the plugin. Requirements: HTTP stream or local database to stream the music. GSC or GSX Plugin to control the plugin. Some mods are really boring when the player is waiting to the respawn, so basically allows to search his favourite sounds when the player is died, and makes it interesting, like myself, if I'm listening my favs, just keep me exited Good luck, I really hope some coders interested about it, we will see!
-
I am a noob in coding but still i tried making a music player for my server. it works using the promod quickmessgae in game menu .(b31,b32,b33,b34,b35 are used to play different music and b36 to stop it) but my problem now is that whenever anyone changes/stops music it applies to everyone(music changes for everyone) playing in server. anyway to solve this. my code in quickmessage.gsc is attached music(x) { level endon("endmusic"); wait 2; for(;;) {switch(x) { case 1: AmbientPlay("endround12"); iPrintlnBold("<<< ^1Music ^2ON>>>"); //iPrintlnBold("<<< ^3Now playing ^2((^1Now Playing American Dream !^2)) ^5>>>"); wait 204; AmbientStop(); wait 1; break; case 2: AmbientPlay("endround16"); //iPrintlnBold("<<< ^3Now playing ^2((^1Now Playing American Dream !^2)) ^5>>>"); iPrintlnBold("<<< ^1Music ^2ON>>>"); wait 204; AmbientStop(); wait 1; break; case 3: AmbientPlay("endround13"); //iPrintlnBold("<<< ^3Now playing ^2((^1Now Playing American Dream !^2)) ^5>>>"); iPrintlnBold("<<< ^1Music ^2ON>>>"); wait 204; AmbientStop(); wait 1; break; case 4: AmbientPlay("endround15"); //iPrintlnBold("<<< ^3Now playing ^2((^1Now Playing American Dream !^2)) ^5>>>"); iPrintlnBold("<<< ^1Music ^2ON>>>"); wait 204; AmbientStop(); wait 1; break; case 5: AmbientPlay("endround14"); //iPrintlnBold("<<< ^3Now playing ^2((^1Now Playing American Dream !^2)) ^5>>>"); iPrintlnBold("<<< ^1Music ^2ON>>>"); wait 204; AmbientStop(); wait 1; break; default: iPrintlnBold("<<< ^1Music ^3OFF>>>"); AmbientStop(); wait 1; return;} } } //whenever they use a quickresponse from the menu this functon gets called // i+1 is the option which they chose self thread music(i+1) ;
-
Can anyone give/make a script to play music while game is going on. A menu for selecting music ingame would be wondeful or else just randowm music kept in the mod.