garrysmod
garrysmod copied to clipboard
Direct GM:AddDeathNotice call replaced by hook.Run
This will allow to hide death notices by returning any value in the hook.
Fixes https://github.com/Facepunch/garrysmod-issues/issues/2611
No
Any updates on this? It's still listed as a hook on wiki.
this hook would be useful if someone wanted to do a Half-Life Deathmatch: Source killfeed addon
I know this is useful to people, but I still want to redo that system to be more dynamic which might include removing that internal method, so I'd rather not add it as a hook just yet.
If all you want is to hide the default killfeed, you could force hud_deathnotice_time to 0 or simply override one of the GM:* methods in that file, even tho that is less than ideal solution.