hello, this is what im getting when using this:
hook.Add( "PostDrawOpaqueRenderables", "DrawSample3D2DFrame", function()
vgui.Start3D2D( pos, angle, 0.5)
hitbutton1:Paint3D2D()
vgui.End3D2D()
end)
[ERROR] gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180: attempt to call method 'OThink' (a nil value)
hello, this is what im getting when using this: hook.Add( "PostDrawOpaqueRenderables", "DrawSample3D2DFrame", function() vgui.Start3D2D( pos, angle, 0.5) hitbutton1:Paint3D2D() vgui.End3D2D() end)
[ERROR] gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180: attempt to call method 'OThink' (a nil value)
[ERROR] stack overflow