[Orpheu] Problem with signature.
Can anyone help me to write correct this sig ? :
Code:
{ |
Re: [Orpheu] Problem with signature.
Replace unsigned short by int, it should work.
By the way, unless you have a specific reason to use it, it exists already in fakemeta. |
Re: [Orpheu] Problem with signature.
But in fakemeta this is executed after this. I want to block this function for fire sounds.
BTW. Dont work. I get this error: Quote:
|
Re: [Orpheu] Problem with signature.
Change also edict_t * to edict_s *
By the way, FM_* are just wrappers to engine calls, so it's the same and you can't block fire sound because there are played client side. |
Re: [Orpheu] Problem with signature.
I know, block fire sounds is possible because i play on server which block this sounds :S
This still dont work. |
Re: [Orpheu] Problem with signature.
No that's not possible. You can block the whole weapon and make your own weapon + sounds etc, but for the default weapon you can't block just the sounds because played client-side and so unhookable.
If you replace unsigned short -> int and edict_t -> edict_s, the sig works and the forward well called, but superceding will do nothing. |
Re: [Orpheu] Problem with signature.
Hmmm, but i have plugin which changing weapon models etc. but when i want play custom fire sound, old sound play too. I want to block thats old fire sounds.
What about sig, I still have error which I post up. |
Re: [Orpheu] Problem with signature.
You have no choice to redo the whole weapon if you want custom sounds and such.
|
Re: [Orpheu] Problem with signature.
Ehh, thanks for info.
|
| All times are GMT -4. The time now is 01:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.