Raised This Month: $ Target: $400
 0% 

Shooting sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 02-13-2013 , 14:29   Shooting sound
Reply With Quote #1

How can i change the sound when a deagle shoots
dont tell me its impossible becuse i have seen other servers done it
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 02-13-2013 , 14:33   Re: Shooting sound
Reply With Quote #2

With FM_EmitSound (?)
__________________
simanovich is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 02-13-2013 , 15:18   Re: Shooting sound
Reply With Quote #3

Wait - weapon mod by Arkshine

__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 02-13-2013 , 17:33   Re: Shooting sound
Reply With Quote #4

Quote:
Originally Posted by ANTICHRISTUS View Post
  • Arkshine already said that if you port a weapon to amxx, then you can change all its sounds. I don't know what this means.
__________________
ANTICHRISTUS is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 02-14-2013 , 09:46   Re: Shooting sound
Reply With Quote #5

This wont work with Emitsound
Code:
public EmitSound(id, channel, sample[])
{
 if(!is_user_alive(id)) 
  return FMRES_IGNORED
 
 new temp[2], weapon = get_user_weapon(id, temp[0], temp[1])
 if(weapon == CSW_DEAGLE)
 {
  if(g_iCurrentGame == GAME_LASER)
  {
   if(equal(sample,"weapons/deagle-1.wav")) 
   {
    emit_sound(id, CHAN_WEAPON, "Gametown/laser.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
   }
   if(equal(sample,"weapons/deagle-2.wav")) 
   {
    emit_sound(id, CHAN_WEAPON, "Gametown/laser.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
   }
   
   return FMRES_SUPERCEDE
  }
 }
 
 return FMRES_IGNORED
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
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 20:37.


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