Hey guys, i am currently having a little problem getting the Avatar Image vgui function working, this is the little bit of code i am using:
local imgAvatar = vgui.Create( "AvatarImage", SheetTabOne ) surface:DrawTexturedRect( imgAvatar:SetPlayer( v ), 0, 0, 128, 128 )
and the reason i have the width and height vectors set to 0 is because i increase them i get this:
surface:DrawTexturedRect( imgAvatar:SetPlayer( v ), 250, 50, 128, 128 )
I am aware that there may be elements missing but the wiki is currently down, any other information that may be required please ask.