playing a wav
Is there a way to make a plugin so at the end of each round it plays a short wav.?
|
The first thing you want to do is register the event.
Code:
Next, you want to precache the sound Code:
Next, you want to play it on the event. Code:
So you have something like this: Code:
|
so what order would i put those commands in?
Code:
heh im getting better :D |
I don't think it really matters...
|
so how does this look?
Code:
|
wait no more like this?
Code:
|
You have 2 precache_sound's, and you never use g_szSound to its full potential.
Please, if you ever want me to help you again, do not indent like that. |
errgggg
You need to define it more i think Code:
i think that works. |
Lol, sry bout the indenting, il stop doing that.
hows this then? Code:
|
Quote:
|
| All times are GMT -4. The time now is 16:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.