millean
millean

Reputation: 11

Garry's Mod 3D2D problems

I'm creating a money printer add-ons, but I want to add my logo to the printer, but I don't know how—what's the function to put a image on cam.Start3D2D ?

(actually , my printer got a basic model with 3d2d on it to work)

Upvotes: 1

Views: 246

Answers (1)

Luiggi33
Luiggi33

Reputation: 63

You can put your image onto a printer with cam 2D3D, but you would need to convert it into a material, start a cam 3D2D context (with cam.Start3D2D), set the drawing material with surface.SetMaterial and draw it via surface.DrawTexturedRect.

Upvotes: 1

Related Questions