AlvarO Posted September 11, 2019 Share Posted September 11, 2019 I used all the info that wiki shows, and I don't have anything: local dot = dxCreateTexture(1, 1) function dxDrawRectangle3D(x,y,z,w,h,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, dot, h, c or tocolor(255,255,255,255), ...) end addEventHandler("onClientRender", root, function() dxDrawRectangle3D(0,0, 30, 100, 100, tocolor(255,255,255,255)) end ) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now