• 3D2D Box in DModelPanel
    2 replies, posted
Hi Everyone, I am trying to make a GUI that will work with my license plate system i am working on, the GUI will be the config of the license plate location on the car. [IMG]http://spex.works/i/hl2_2017-08-29_14-34-46.png[/IMG] [IMG]http://spex.works/i/2017-08-29_14-41-16.png[/IMG] I'm trying to draw a 3D2D Box with text onto the vehicle drawn by DModelPanel, i will be changing it to a DAdjustableModelPanel and remove the sliders on the side. Is there a way to draw the 3D2D license plate in the VGUI?
[URL="https://github.com/Facepunch/garrysmod/blob/master/garrysmod/lua/vgui/dmodelpanel.lua#L77-L112"]Override one of the functions here[/URL]. I'm not quite sure which one works for 3D2D, but probably PostDrawModel.
Override LayoutEntity function in DModelPanel [url]http://wiki.garrysmod.com/page/DModelPanel/LayoutEntity[/url]
Sorry, you need to Log In to post a reply to this thread.