AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Sound When You get kevlar (https://forums.alliedmods.net/showthread.php?t=101366)

Zpoke 08-23-2009 08:00

Sound When You get kevlar
 
1 Attachment(s)
hello, i need some help with my plugin, i want a sound when you get the kevlar. but i have some trouble, please help me.

Arkshine 08-23-2009 08:14

Re: Sound When You get kevlar
 
Add something like: emit_sound( id, CHAN_VOICE, "items/tr_kevlar.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM );

Zpoke 08-23-2009 08:26

Re: Sound When You get kevlar
 
can youi try to put it in the .sma and send it back to me :)

Arkshine 08-23-2009 08:40

Re: Sound When You get kevlar
 
No, you are in the scripting section, meaning you are here to learn, so do it yourself. You wanted a code to play a sound like you want, now just place it where you need to play. After all, you have done this plugin so it supposes you know what you do, especially when you need only to copy/paste one line.

xPaw 08-23-2009 09:45

Re: Sound When You get kevlar
 
Quote:

Originally Posted by Arkshine (Post 910083)
No, you are in the scripting section, meaning you are here to learn, so do it yourself. You wanted a code to play a sound like you want, now just place it where you need to play. After all, you have done this plugin so it supposes you know what you do, especially when you need only to copy/paste one line.

He's pro at changing author, nothing more.


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

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