Jump to content

custom radar blips


Wei

Recommended Posts

I tried to use this code to make the blips on my custom radar.

viewtopic.php?f=91&t=71784

But when I rotate mouse everything rotates and blips are not in the position they are supposed to be...

    local blipX = (17+(300/2))+cblipx-(blipsize/2) 
            local blipY = (608+(154/2))+cblipy-(blipsize/2) 
  
         
        blipX = math.max(17, math.min(17 + 300, blipX)) 
        blipY = math.max(608, math.min(608 + 154, blipY)) 
         

this are calculations

image :

a7ea1c9abb3f7a1135321e3ead8d138f.png

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