Hooking/altering custom death messages ( log )
What I want to do is :
- Hooking original death message log ( suicide included ), then block it. Death message from log look like : Quote:
Using FM_AlertMessage to hook/supercede works fine, but only for messages generated by the engine. I mean, and that's my problem, this forward will not be called ( not sure to understand why ) if it's custom messages using either log_message() or engfunc( FM_AlertMessage, _ ). ( which are basicaly the same call ) As notes, I tried as post/pre and the same result. Any ideas to solve this problem or an alternative method, please ? Thanks. [EDIT] : Is the reason the same than for the normal message_begin() where the things not done by the engine itself are not caught by Metamod ? Maybe should I file a request to add something : log_emessage() ? |
Re: Hooking/altering custom death messages ( log )
you are right, all functions call from metamod follow this rule
|
| All times are GMT -4. The time now is 03:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.