AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   loading (https://forums.alliedmods.net/showthread.php?t=17525)

One shot dont miss! 09-03-2005 06:40

loading
 
ok i need and i already looked for this a plugin that will play sounds during connection but they are mp3 and i want the client to DL them from dedticated server/cstrike/vts folder so i need it to be about to be DLable and when clients connect they heir the sound







-thx in advanced[/code]

One shot dont miss! 09-03-2005 12:13

Plz smart people i have tryed this but i cant get it

pdoubleopdawg 09-03-2005 12:59

Precache the sound, the first time they join they will download it. (I think)
The next time they join use
Code:
client_connect(id) {       client_cmd(id,"spk sounds/sound.wav") }
I think that'll work, providing you precache it in plugin_precache. If not check out the source to the plugin that plays a song when you join.

You can't MAKE them download a folder, you have to make them download each sound, which will be slow as fuck. That's why you should use sv_downloadurl for that (GOOGLE)

Xanimos 09-04-2005 00:39

Quote:

Originally Posted by One shot dont miss!
but they are mp3

Quote:

Originally Posted by pdoubleopdawg
Precache the sound, the first time they join they will download it. (I think)
The next time they join use
Small:

client_connect(id)
{
client_cmd(id,"spk sounds/sound.wav")
}

That wont work with mp3's you have to use
Code:
client_connect(id) {      client_cmd(id , "mp3 play sound/song.mp3"); }


All times are GMT -4. The time now is 14:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.