Jump to content

Object Ids or how to remove


Recommended Posts

Hello again.

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

So, the first object is this :




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


Another one:


And the reason:


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