Play sound.
What is command to play sound?
|
Re: Play sound.
Depending on your need:
emit_sound() to play a sound at a specific origin (all players can hear this). client_cmd() to play a sound for a specific player (using either spk or mp3play). |
Re: Play sound.
emit_sound(). Thank you. I'll test it.
EDIT: I don't understand. Can you give me an example? |
Re: Play sound.
Funcwiki explains it very well.
Example: Code:
Code:
|
Re: Play sound.
Do I have define everything?
For example I will use this: Is it right? emit_sound( 0, CHAN_STATIC, "admin_join", 0.35, ATTN_NORM, 0, PITCH_NORM ); |
Re: Play sound.
Try it.
Everything is defined already, no need to redefine it. |
Re: Play sound.
Where should be sound? /cstrike/sound?
|
| All times are GMT -4. The time now is 14:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.