This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello,

i have an Problem with the Sound System...

I have included a fun sound System in my Plugin so that an player types:
jesus
than the Plugin plays the Sound jesus.mp3...

But after a custom count of sounds, the engine Stops playing the files...
Nobody can hear the sounds than.... and minutes later one sound runs 
correctly... and it stops again...

I hope you can help me fixing this Problem.

I Play the sound with this function:

Vector Origin = Player.PlayerInfo->GetAbsOrigin();

MRecipientFilter Filter;

Filter.AddPlayer( PlayerIndex );
Filter.MakeReliable();

EngineSounds->EmitSound( Filter, PlayerIndex, CHAN_AUTO, SoundFile, 0.7,  0,
0, 100, &Origin );

On startup the Plugin Precaches the Sounds:

EngineSounds->PrecacheSound( SoundFile, true );

Can anybody help me fixinig this Problem?

Sorry for my bad english! I am from Germany :)

Thanks verry much!

With friendly Reguards

Ratman2000
--


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to