[ERROR] addons/darkrpmodification/lua/entities/notiboard/cl_init.lua:15: attempt to call field 'Start3D2D' (a nil value)
I make "Dframe" on entity need help
existing code:
function ENT:Draw()
self:DrawModel()
local frame = vgui.Create( "DFrame" )
frame:SetPos( 0, 0 )
frame:SetSize( 204, 204 )
frame:ParentToHUD()
vgui.Start3D2D(self:GetPos() , self:GetAngles() , 1)
frame:Paint3D2D()
vgui.End3D2D()
end
hook.Add( "PostDrawOpaqueRenderables", "DrawDemoFrame", function()
end)
You're trying to use third party code.
I want to know how make Dframe on entity
nice help for newbie
Sorry, you need to Log In to post a reply to this thread.