Show DarkRP player model on HUD?

Hello. I am currently creating a HUD for my DarkRP server. I am trying to draw the player model of the player in the HUD.

Does anyone know the best way to go about doing this? Thank you!

local plymodel = vgui.Create( "DModelPanel" )
plymodel:SetSize( 300, 300 )
plymodel:SetPos( 10, ScrH() - 310 )
function plymode:Think() --> This is so that the player model is checked every tick
    plymodel:SetModel( LocalPlayer():GetModel() )
plymodel:SetCamPos( Vector( 0, 5, 62 ) )
plymodel:SetLookAt( Vector( 0, 5, 62 ) )

You can play around with the numbers to your liking.

For more information visit:

Thanks man!

[editline]8th April 2016[/editline]

Working great, but look at my latest thread :frowning: