Jump to content

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


Luiscoco

Recommended Posts

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
Link to comment
Share on other sites

  • 4 weeks later...

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
Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...