Sign in to follow this  
Luiscoco

What tools are you using to get in-game coordinates?

Recommended Posts

Posted (edited)

I now need a tool to get the coordinates on the map , This tool preferably has the ability to add/delete objects, just like Mapedit in SAMP,

Can you recommend me such a tool? thanks !

Edited by Luiscoco

Share this post


Link to post
Share on other sites
Posted (edited)

You can use this function: https://wiki.rage.mp/index.php?title=Entity::createModelHide

mp.game.entity.createModelHide(x, y, z, radius, model, p5);

 

For coordinates you can delete the world object with MapEditor for example and read it out of the xml so you'll get coords + hash

Deleted world objects are below the "RemoveFromWorld"

if you don't know the hash ID you can convert the name with 

https://wiki.rage.mp/index.php?title=Globals::joaat

mp.game.joaat(String);

 

Which is used like:

mp.game.entity.createModelHide(x, y, z, radius, mp.game.joaat('objectname'), p5);

 

Edited by KAyo
  • Mask 1

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.