Reagle Posted January 19 Share Posted January 19 addEventHandler("onClientRender",root,function() local camx,camy,camz = getElementRotation(cam) local px,py = getElementPosition(localPlayer) local pix = (px+3000)/2 local piy = -py/2+1500 dxDrawRectangle(pos["rectangle"][1],pos["rectangle"][2],pos["rectangle"][3],pos["rectangle"][4],tocolor(255,255,255,255)) dxDrawImageSection(pos["rectangle"][1],pos["rectangle"][2],pos["rectangle"][3],pos["rectangle"][4],pix-400,piy-260,800,520,"mapa.jpg",camz) end) Hi, what should I do to keep radar horizontally and rotate only img? 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