Simple question [Still need help]
I'm a noobie at amx plugins and i want to ask you all how to make a sound play when somthing happens like when you buy something on a plugin.
I would frefer to use simple modules. |
Re: Simple question
|
Re: Simple question
Is there another way.
Or maybe you could give me example with the current one? |
Re: Simple question [Still need help]
You have a example of emit_sound() in that page there, including comments.
You'll also need to use precache_sound() on the sound to make players download it if they don't have it. Still, emit_sound() emits a sound (duh) that all nearby players can hear. If you want just a player to hear it, use client_cmd() like so: Code:
client_cmd(id, "spk ^"path/sound.wav^"") |
Re: Simple question [Still need help]
Could anybody tell me what client_cmd() has commands ?
And BTW thanks it works ;) |
Re: Simple question [Still need help]
|
Re: Simple question [Still need help]
Yes i seen this page but it doesn't give me any command list or what it does.
|
Re: Simple question [Still need help]
ffs client command, it makes the player execute a command. A console command ...
|
Re: Simple question [Still need help]
Thanks i got it now, i didn't know that theres such thing as spk command.
|
Re: Simple question [Still need help]
for mp3's its:
PHP Code:
|
| All times are GMT -4. The time now is 23:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.