Quote:
Originally Posted by kiki33hun
|
Thanks
Quote:
Originally Posted by Arkshine
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.