• Need help with something with my hud
    2 replies, posted
so im trying to make it where if u say false in config you can turn off the avatar and turn it on local function Avatar() if TOGConfig.Avatar == true then local Avatar = vgui.Create( "AvatarImage", Panel ) Avatar:SetSize(58, 58) Avatar:SetPlayer( LocalPlayer(), 64 ) Avatar:SetPos(45,ScrH() - 145) everytime i make it false it doesnt do anything? end end if you guys can help me make an agenda hud also that would be helpful i tried looking at the default darkrp agenda does not help
can you please use code tag? This is just hard to read
I'd recommend external stuff like pastebin or hastebin as the code-blocks on newpunch are fucked up atm. -- You have to use PANEL:Remove() to remove the panel. Check if "TOGConfig.Avatar" is set and "Avatar" exists (panel is valid) => remove it.
Sorry, you need to Log In to post a reply to this thread.