AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED] blocking logmessage with fakemeta, help needed! (https://forums.alliedmods.net/showthread.php?t=6845)

FeuerSturm 10-16-2004 16:05

[SOLVED] blocking logmessage with fakemeta, help needed!
 
the problem is solved, plugin can be found here:
DoD UberGarand

DS 10-16-2004 20:22

Heh, I really wish this was in the core. In the mean time I'm just using a custom compiled DLL that has this in the core, but too bad a public plugin can't utilize it. :-(

Anyways, try returning FMRES_SUPERCEDE instead of FMRES_HANDLED in that blocksuicide function.

I remember when I was messing with the AMXX code that return MRES_IGNORED wasn't working in trying to block the log, but instead MRES_SUPERCEDE worked. And so since FMRES_SUPERCEDE corresponds to the MRES_SUPERCEDE constant in metamod, it probably will work. But I'm not at a machine that I can test that out right now.

FeuerSturm 10-16-2004 20:33

that did the trick!

thank you very much Damaged Soul!

i tried FMRES_HANDLED and FMRES_IGNORED both did nothing,
so i kinda gave up and asked :wink:

thanks for your help :D


All times are GMT -4. The time now is 17:10.

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