Raised This Month: $ Target: $400
 0% 

Changing the sound of weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 11-02-2011 , 15:48   Re: Changing the sound of weapons
Reply With Quote #8

Quote:
Originally Posted by kiki33hun View Post
Thanks

Quote:
Originally Posted by Arkshine View Post
You miss the point the fire sounds are played client-side (because of prediction), therefore you can't hook them.
And for your information, what you show is a reference to CAK47:recache() and only that.
Instead of wasting your time to make a screenshot, you should have tested your plugin or/and checked IDA more.
I have thinking here,

Weapons sounds cant be a client side and can change and hook them.
When sounds are in client side then ohters players can not hear that player weapon sounds who shoot.

When player shoot
game send the message to server
( sound id, weapon ) - something like this

Then server send to player that message.


In amxmodx and mayby a metamod has not been done that hook weapon sounds.


I have 85% sure we can hook them like ohters things.
And the footstep sound too.
I'm not a programmer so i can not do miracles.


But yeah, mayby cs was done that way: ( this is 15% sure case )

When player are in server then ohter players are connected with that player and player game dont send the message to server, only players.
.Dare Devil. is offline
 



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 14:23.


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