Jump to content

How to understand the position of the barrier?


Recommended Posts

Posted

How to understand the position of the barrier? 

I wanted to copy the position of the barriers, but I can't figure out what position the barriers are in! Help, what position is the barrier in?

Posted

You can get the barrier position using getElementPosition and getElementRotation if you have access to the object in script.

If you’re doing it manually, the easiest way is to open the map in the MTA Map Editor and click on the barrier, it will show you the exact position (x, y, z) and rotation.

If it’s an existing object on a server and you don’t have the map, you can use a small client-side script to print its position when you’re near it.

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