Fabioxps Posted April 30, 2014 Share Posted April 30, 2014 not appear img local w, h = guiGetScreenSize () local x, y, z = getWorldFromScreenPosition ( w/2, h/2, 10 ) addEventHandler("onClientResourceStart", resourceRoot, function() local material = dxCreateTexture("img/user.png") myRenderTarget = dxCreateRenderTarget(1024, 1024, true) dxSetRenderTarget( myRenderTarget ) local width, height = dxGetMaterialSize(material) dxDrawImage(400, 400, width-400*2, height-400*2, material, 0, 0, 0, color) dxSetRenderTarget() end ) outputDebugString("a") addEventHandler( "onClientRender", root, function() if myRenderTarget then dxDrawMaterialLine3D( x,y,z, x, y, z+1, myRenderTarget, 100, tocolor( 62,175,246,160 ), x, y, z+500000000) end end) Link to comment
xXMADEXx Posted April 30, 2014 Share Posted April 30, 2014 Read what debugscript 3 says, and post what it says here. Link to comment
Fabioxps Posted April 30, 2014 Author Share Posted April 30, 2014 Read what debugscript 3 says, and post what it says here. noot bugs 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