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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.