Jump to content

Help me...


SaDb0y1

Recommended Posts

I think he talks about breakable objects. I don't know how much MTA is aware of objects being broken. Maybe you can check if it's broken using this function:

getElementHealth 

If it doesn't help, then try something with one of these:

isLineOfSightClear 
processLineOfSight 

If the object is broken, it won't block the line of sight, so if the sight becomes clear, that means the object has been broken. Then destroy the element and create it again.

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