Jacobob14 Posted March 2, 2014 Posted March 2, 2014 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 )
Moderators Citizen Posted March 2, 2014 Moderators Posted March 2, 2014 What ? He wants us to explain him how to do a custom radar 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 ). But I won't be that person this time.
Jacobob14 Posted March 2, 2014 Author Posted March 2, 2014 emm just want to know what function I can use to move the radar
Moderators Citizen Posted March 2, 2014 Moderators Posted March 2, 2014 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.
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