Ok , and one question, I've been punching my head against the wall, already for some time.
So i have tried to make some kinda music menu for quickmessage menu, and it works (somehow). The main problem is that the sounds are not local, i mean all players will hear the music or sounds. But after i tried to use some function that actually made the sound "local", but then weapon sound overrides it, if i shoot the music stops, which is kinda annoying.
I used this function:
Code:
if(isPlayer(self))
{
self playlocalSound("spawn");
}
That is supposed to play some Black Ops spawn music when player joins and spawns, but if he shoots with his weapon, it will stop the sound.
And I have also tried some other functions, but then everyone will hear the music. What causes the main problem? Maybe it is soundalias? or just the function sucks?
The soundalias is like this:
Code:
spawn,,other/spawn.mp3,1.0,,,,,,,local,streamed,,nonlooping
I hope someone got fix for this
I can make separate topic for this problem if this problem needs lots of explaining