Jump to content

Removing the gates


Wes

Recommended Posts

Posted

Hey! I want to remove the KACC Base's gate.

2497.4063, 2769.1094, 11.5313

2497.4063, 2777.0703, 11.5313

These are the two gates. How can I make it so it will disappear for everyone? Thanks.

Posted

I did this: removeWorldModel(2497.4063, 2769.1094, 11.5313)

removeWorldModel(2497.4063, 2777.0703, 11.5313)

This is the meta:

ANd it's not working. :D

How can I delete objects in the MTA EDitor?

Posted

That's wrong, you must read the function syntax.

Just click the icon on bottom left menu and click the object you want to remove.

You must have the latest resources package to have this option though.

Posted

And how to get that package? Sorry for these questions, I've just recently moved to MTA from SAMP, it's a bit new for me...

Posted

bool removeWorldModel ( int modelID, float radius, float x, float y, float z [, int interior = 0 ] ) 

Required Arguments

modelID: A whole integer specifying the GTASA object model ID.

radius: A floating point number representing the radius that will be eliminated.

x: A floating point number representing the X coordinate on the map.

y: A floating point number representing the Y coordinate on the map.

z: A floating point number representing the Z coordinate on the map.

You forget modelID And radius :wink: .

Posted

Alright, It's working now.

How can I do that if the given player gets closer to the gate, it automatically moves?

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