Jump to content

its possible ..


Recommended Posts

as I can make an image move in the direction that moves a player

addEventHandler("onClientResourceStart", resourceRoot, 
    function()     
    end 
) 
  
addEventHandler("onClientRender", root, 
    function() 
        dxDrawImage(32, 438, 153, 139, "radar.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) 
    end 
) 

Link to comment
  • Moderators
What ?

He wants us to explain him how to do a custom radar :lol:

Sorry to say that Jacobob14 but you need to get more skill before doing such complicated stuff.

Because someone will try to help you giving you the functions and the main idea of how it has to be done but you won't be able to make it yourself.

So someone will finally do the whole code for you (some crazy guys like me xD).

But I won't be that person this time.

Link to comment
  • Moderators
You'll have to make your own radar...

As you can see, he is already doing it ...

emm just want to know what function I can use to move the radar

All the functions you need are:

getElementPosition 
dxDrawImageSection 

Then you just have to do some math to calculate the player position on the image according to his gta world position.

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