Jump to content

world position from click position


Weii.

Recommended Posts

  • Moderators

You must get the ratio of the map you are using for your gui (for exemple 1pixel = 0.5 gta unit so the ratio is 1/0.5)

And when the guy click on the image, you have to some maths using the map image ratio, the gui size on the screen and the click position.

Show us the image you are using and the line where the image is being drawn (guiCreateStaticImage I guess).

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...