• How do you disable the Death Notifications in Garry's Mod?
    5 replies, posted
Hello there! I have a DarkRP server that's finally starting to get some regular players on. However, there's a real thorn in my side which is the Death Notifications which appear in the top-right corner. It's just asking for people to Metagame and I can't figure out how to disable the damn thing. I found a fix a while ago which was to run the console command 'hud_deathnotice_time 0' and it works... clientside. So I thought adding it to the server startup variables would sort it out. Of course it didn't because that'd be too easy. So I tried using ulx cexec to get users to run the command (figuring that if that worked, I could make a simple script that forces each client to run the command every time they join) and got the error 'FCVAR_SERVER_CAN_EXECUTE prevented server running command: hud_deathnotice_time' so obviously that's not going to fly. I'm really at my wits end and I know there's gotta be an easy fix out there somewhere and I'm gonna headbutt the wall as soon as I find it out, but right now it eludes me. Could any of you lovely people shed some light on this issue for me? Many thanks in advance!
[url]http://wiki.garrysmod.com/page/GM/DrawDeathNotice[/url] Just leave it empty I guess.
[QUOTE=McDunkable;50462201][url]http://wiki.garrysmod.com/page/GM/DrawDeathNotice[/url] Just leave it empty I guess.[/QUOTE] Ahh nice, cheers! I'm a bit of a scrub when it comes to hooks, where would I place this? In a .lua file in the autorun folder?
I am fairly certain it can be disabled through the darkrpmodification config, not 100% sure though.
I'm not familiar with DarkRP or anything of the likes. If I had to do it, I would simply override the gamemode function. You can do so by creating a file in /lua/autonrun/client/ [editline]5th June 2016[/editline] Made me check config files... As SirFrancisB said, there's a setting for that already... GM.Config.showdeaths = false
Many thanks guys! :D
Sorry, you need to Log In to post a reply to this thread.