WASSIm. Posted April 18, 2013 Posted April 18, 2013 how make dxdrawimage3d and dxdrawtext3d? plis if can post exmple
OGF Posted April 18, 2013 Posted April 18, 2013 There is a resource for that in the community. You can add your own on the meta.xml. https://community.multitheftauto.com/ind ... ls&id=3090
WASSIm. Posted April 18, 2013 Author Posted April 18, 2013 There is a resource for that in the community. You can add your own on the meta.xml.https://community.multitheftauto.com/ind ... ls&id=3090 i don't understand
manve1 Posted April 18, 2013 Posted April 18, 2013 There is a resource for that in the community. You can add your own on the meta.xml.https://community.multitheftauto.com/ind ... ls&id=3090 He is asking for dxDraw3DImage, not dxDraw3DText or something like that. Looking for tutorials or information? check out: www.simpleask.co.uk
Castillo Posted April 18, 2013 Posted April 18, 2013 Here's an useful function, not sure if it works though: https://wiki.multitheftauto.com/wiki/DxDrawImage3D San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
WASSIm. Posted April 18, 2013 Author Posted April 18, 2013 i make this for test but have problem to rotation(3D) --Rectangle3D local dot = dxCreateTexture(1,1) local white = tocolor(255,255,255,255) 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 white, ...) end ---Image3D local white = tocolor(255,255,255,255) function dxDrawImage3D(x,y,z,w,h,m,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, m, h, c or white, ...) end --test local face = dxCreateTexture("test.png") addEventHandler("onClientRender", root, function() local xc, yc, zc, lxc, lyc, lzc = getCameraMatrix( ) dxDrawImage3D(2410,-1733, 14, 20, 20, face, tocolor(255,255,255,255)) end )
OGF Posted April 18, 2013 Posted April 18, 2013 There is a resource for that in the community. You can add your own on the meta.xml.https://community.multitheftauto.com/ind ... ls&id=3090 He is asking for dxDraw3DImage, not dxDraw3DText or something like that. He said Text also , and I know what he is trying to do. I tried looking for a function like dxDraw3Dimage in the client-sided page, but it was in the useful functions, anyways solidsnakes got it,
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