I think it was devine that I played on and it didnt have a killfeed, i have my own srcds dedicated server, so how do i remove the kill feed so it doesnt show who killed who?
Lua!
Use the HudShouldDraw hook and hide the CHudDeathNotice element.
[QUOTE=Chessnut;32206752]Lua![/QUOTE]
Hes looking for a specific code...
[lua]
hook.Add("HUDShouldDraw", "_HUDShouldDraw" function(element)
return (element != "CHudDeathNotice");
end);
[/lua]
Add that to a file in [i]lua/autorun/client[/i] with any name.
If you want to add it to your gamemode.
[lua]
function GM:HUDShouldDraw(element)
return (element != "CHudDeathNotice");
end;
[/lua]
I think there is a rp_command 0
thanks for replying chestnut but i dont understand why its not working. I saved it as a lua file named hide_killfeed in the directory you told me to save it in (lua/autorun/client). I am trying to get it to work with garrys mod
hud_death_notice 0 IIRC
Sorry, you need to Log In to post a reply to this thread.