AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] how to add some sounds. (https://forums.alliedmods.net/showthread.php?t=101782)

ilovezp 08-27-2009 07:51

[HELP] how to add some sounds.
 
i want to add sounds when
i kill other players and i want to change sounds on death
someone give me the code plzz i n need it for my server

Alucard^ 08-27-2009 08:24

Re: [HELP] how to add some sounds.
 
If you need to your server, then you can request in Suggestions / Requests section. Also, if you want to learn... maybe this links can help you:

http://forums.alliedmods.net/showthread.php?t=101699
http://forums.alliedmods.net/showthread.php?t=45461

About the first sound when you kill other players... first you can hook the DeathMsg event... and then to add a sound you can use:

PHP Code:

client_cmd(index"spk %s"YourSound

Or emit_sound.


All times are GMT -4. The time now is 15:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.