Jump to content

dxImageSection Help


Jacobob14

Recommended Posts

how I can make the image is not repeated at the end of map????? :(

aQJ1cUs.png

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...