Jacobob14 Posted April 13, 2015 Share Posted April 13, 2015 how I can make the image is not repeated at the end of map????? local rot = getPedCameraRotation(localPlayer) local px,py = getElementPosition(localPlayer) local tx,ty = (3000+px)/6000*mx, (3000-py)/6000*my local wx, hy, wx1, sy1 = tx-(alt/2),ty-(alt/2),alt,alt dxDrawImageSection(0, 0, 600, 600, wx, hy, wx1, sy1, "radar.png",-rot,0,0,tocolor(255,255,255,al)) Link to comment
ALw7sH Posted April 13, 2015 Share Posted April 13, 2015 if currentSize > maximumSize then currentSize = maximumSize end something like that above your dxDrawImageSection function 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