Use sound when action done.
Hi,
hmm , i would like to know how to play a sound , a custom sound when i do something . Example 1: I jump and the sound plays (HE JUMPED) Example 2: I shoot and the sound plays (HE SHOT) etc . etc |
Re: Use sound when action done.
Code:
|
Re: Use sound when action done.
oh thanx thanx , another question ,
What if there is a menu, consisting 2 items : 1. Cow 2. Goat when i select cow , the sound plays moooo. and goat it says maaaa. example :D |
Re: Use sound when action done.
PHP Code:
|
Re: Use sound when action done.
what is this for : #pragma semicolon 1
|
Re: Use sound when action done.
Quote:
|
Re: Use sound when action done.
Quote:
even when i enter a valid address , exp : sound\ambience\cow.wav it says the same thing. i think invalid command , anyways not working 4 me |
Re: Use sound when action done.
On this subject, what is the difference between "spk" and "echo"? I have seen both used, but never got the difference.
**If I'm not mistaken, you will also have to precache the sounds for them to work. |
Re: Use sound when action done.
Quote:
yes, you need to precache them. Edit: I changed the code, try now |
| All times are GMT -4. The time now is 14:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.