NeXuS™ Posted December 5, 2015 Share Posted December 5, 2015 if rT then local pX, pY, pZ = getElementPosition(localPlayer) rot = getCameraRotation(localPlayer) dxSetRenderTarget(rT) img = dxDrawImageSection(x, y, w, h, (pX+3000)*(1536/6000)-w/2, -(pY+3000)*(1536/6000)-h/2, w, h,"files/radar.png", rot) dxSetRenderTarget() dxDrawImage(x, y, w, h, rT) end This code is giving me a black screen, can you help me? 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