Quote:
Originally Posted by Bacardi
Set
- AddFileToDownloadsTable() and FakePrecacheSound() into OnConfigsExecuted(). You only need do this once when map start.
- Play sound much later when client connect.
For example try play sound on OnClientPostAdminCheck()
*edit
Sometimes *.wav files work better than *.mp3 ones
|
Hi thank you for replying.
The solution you are proposing is working but it makes plugin play music after player downloaded all assets from server and i am trying to play it when player is downloading them this is why i was trying to download sound file before anything else is being downloaded and because of that i need a way of downloading my music file as the first file not just playing it after everything has been downloaded