How to add sound?
hi, i have a question. How can i add sound, when player uses a chat command. For example: he says: /shout, and then everybody hears shouting sound comming from him. Sound should be heard not just by the player who used the command, and other should hear if close enought (not same voice)
|
Re: How to add sound?
You can use
PHP Code:
NOTE: The initial (or directory) folder is "sound". If you want to put a sound that is on sound/yourfolder you have to code: PHP Code:
|
Re: How to add sound?
|
Re: How to add sound?
if i use:
PHP Code:
should i use "id" then? PHP Code:
is "spk" command heard by everyone? (not the same voice) I need all this stuff for leap plugin. When player does leap, he shouts. |
Re: How to add sound?
"spk(speak) [sound]" command plays the sound that you want.
The sound is the same volume to everyone. |
Re: How to add sound?
Quote:
|
Re: How to add sound?
Thanks
|
| All times are GMT -4. The time now is 03:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.