Raised This Month: $ Target: $400
 0% 

Sound When You get kevlar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zpoke
Senior Member
Join Date: Aug 2009
Location: Sweden
Old 08-23-2009 , 08:00   Sound When You get kevlar
Reply With Quote #1

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.
Attached Files
File Type: sma Get Plugin or Get Source (--healtchance.sma - 690 views - 2.8 KB)
Zpoke is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-23-2009 , 08:14   Re: Sound When You get kevlar
Reply With Quote #2

Add something like: emit_sound( id, CHAN_VOICE, "items/tr_kevlar.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM );
__________________
Arkshine is offline
Zpoke
Senior Member
Join Date: Aug 2009
Location: Sweden
Old 08-23-2009 , 08:26   Re: Sound When You get kevlar
Reply With Quote #3

can youi try to put it in the .sma and send it back to me
Zpoke is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-23-2009 , 08:40   Re: Sound When You get kevlar
Reply With Quote #4

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.
__________________
Arkshine is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-23-2009 , 09:45   Re: Sound When You get kevlar
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
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.
__________________
xPaw is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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