• How to hide players microphone down indicator
    2 replies, posted
I cant figure out how to hide the little microphone icon above players heads while using microphone, searched around gmod wiki a ton, anything anyone here knows?
mp_show_voice_icons 0 If you want to solve it with lua, Kogitsune did already an good script for it. [QUOTE=Kogitsune;18574271]There's icntlk_local, icntlk_sv, and icntlk_pl. You'll need an invisible texture ( you can get one I whipped together for you [url=http://dl.dropbox.com/u/1660572/Garrysmod/invisible.zip]here[/url] ) because I didn't know if there was a working one or not ( unsure of nodraw not drawing, plus it's unlit generic ). To use, I think this is what you'd need to do. First, send those two files to the clients, and a clientside file or in your gamemode's client files if that's what you are doing. [code] local function Initialize( ) local mat, mat2, mat3, mat4, bt mat = Material( "invisible" ) bt = mat:GetMaterialTexture( "$basetexture" ) mat2 = Material( "voice/icntlk_local" ) mat3 = Material( "voice/icntlk_sv" ) mat4 = Material( "voice/icntlk_pl" ) mat2:SetMaterialTexture( "$basetexture", bt ) mat3:SetMaterialTexture( "$basetexture", bt ) mat4:SetMaterialTexture( "$basetexture", bt ) end hook.Add( "Initialize", "Hide talk indicators", Initialize ) [/code] Something like that would do the trick, I suppose. Although it's the worst way I can think of doing it, given that implementation of blocking the element would be a much better solution.[/QUOTE]
[QUOTE=Tomelyr;46088581]mp_show_voice_icons 0 If you want to solve it with lua, Kogitsune did already an good script for it.[/QUOTE] Thanks, would be nice to have a took to toggle it per player with ease, but that will probally do nicely. :D
Sorry, you need to Log In to post a reply to this thread.