Jump to content

Object Ids or how to remove


FuriouZ

Recommended Posts

Hello again.

I have problem with some objects which are hard/impossible to remove.

So, the first object is this :

mta-screen_2014-09-23_21-20-46.png

Location:

mta-screen_2014-09-23_21-27-35.png

Why I need to remove ? (To show, that I am not asking those objects just for fun)

mta-screen_2014-09-23_21-30-15.png

Another one:

mta-screen_2014-07-20_21-50-41.png

And the reason:

mta-screen_2014-09-23_21-36-54.png

I really hope that someone can help me and finally fix this problem :roll:

Link to comment
  • 2 months later...
  • 1 month later...

Only way I know how to remove objects without collision is by finding their ID by browsing trough objects in map editor. If you know object name, that will make it a lot easier for you. Anyway, once you find object ID, you need to try and get object coordinates. Usually, you can do that just by placing ped in middle of object you want to remove and use coordinates of that ped. Then, make line of code for your .map file:

[*]

Fill in model with ID you found by browsing trough MTA objects and for posX, posY and posZ, use coordinates of ped. lodModel is usually 0 and you can set radius to whatever you want, but it needs to cover the area from which you want to remove object (you can help yourself out here with marker, place it in middle of object and change its radius till it covers whole object).

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