handsomematt / 3d2d-vgui

:eyes: Render and control 2D VGUI in 3D world space for Garry's Mod
MIT License
91 stars 25 forks source link

Getting an error #2

Closed tzahush closed 10 years ago

tzahush commented 10 years ago

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)

  1. unknown - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180

[ERROR] stack overflow

  1. __index - [C]:-1
    1. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:175
    2. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
      1. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
      2. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
      3. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
      4. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        1. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        2. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        3. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        4. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        5. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        6. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        7. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
        8. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180
          1. OThink - gamemodes/rp1950s/gamemode/libraries/client/cl_3d2d.lua:180