Hi mates. I have some questions about DModelPanel.
My problem in picture:
On this picture, my playermodel dont have any problem but my HUD doesn’t work.
On this picture all is work. So I don’t understand the problem.
Here my DModelPanel:
function Shard_DrawHUD_Player(ply, x, y) Shard_Player_MDL = vgui.Create( "DModelPanel" ) Shard_Player_MDL:SetModel( ply:GetModel() ) Shard_Player_MDL:SetPos(x, y) Shard_Player_MDL:SetSize( 115, 115 ) Shard_Player_MDL:SetCamPos( Vector( 38, -15, 64)) Shard_Player_MDL:SetLookAt( Vector( 0, 0, 42 ) ) Shard_Player_MDL:SetAnimated(false) function Shard_Player_MDL:LayoutEntity( ply ) return end end
Sorry for my bad English, I’m a Baguette^^