Raised This Month: $ Target: $400
 0% 

Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wess
Member
Join Date: Feb 2007
Old 06-18-2007 , 20:55   Help
Reply With Quote #1

I was making a hero called Super Vegeta and I have the wav files but i dont know how to emmit the sound to the hero
Attached Files
File Type: rar shmod.rar (1.24 MB, 130 views)

Last edited by Wess; 06-19-2007 at 11:35.
Wess is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 06-20-2007 , 22:42   Re: Help
Reply With Quote #2

Code:
#include <amxmodx> public plugin_precache() {     precache_sound("shmod/vegetto_powerup1"); } public sound_playing_function() {     emit_sound(player, CHAN_AUTO, "shmod/vegetto_powerup1", VOL_NORM, ATTN_STATIC, 0, PITCH_NORM); }
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 06-20-2007 , 22:43   Re: Help
Reply With Quote #3

NOTE: replace player with the index of the player of the person, you want the sound to emit from.
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Wess
Member
Join Date: Feb 2007
Old 06-21-2007 , 17:55   Re: Help
Reply With Quote #4

thanks a lot i now i know what to do
Wess is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 06-22-2007 , 15:17   Re: Help
Reply With Quote #5

np
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Reply



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 00:47.


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