Hi, I want to block the sounds of pl-step1... water etc. I did
but it doesn't work why? How to hook PM_PlayStepSound ?
- orpheu work. Greetings.
Код:
RegisterHookChain (PM_PlayStepSound, "OnPM_PlayStepSound", false);
RegisterHookChain (PM_PlayWaterSounds, "OnPM_PlayWaterSounds", false);
Код:
OrpheuRegisterHook( OrpheuGetFunction( "PM_PlayStepSound" ), "OnPM_PlayStepSound", OrpheuHookPre);