Wes Posted March 9, 2013 Share Posted March 9, 2013 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. Link to comment
Castillo Posted March 9, 2013 Share Posted March 9, 2013 Use: removeWorldModel Or you can use the map editor, which now has the option to remove world objects. Link to comment
Wes Posted March 9, 2013 Author Share Posted March 9, 2013 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. How can I delete objects in the MTA EDitor? Link to comment
Castillo Posted March 9, 2013 Share Posted March 9, 2013 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. Link to comment
Wes Posted March 9, 2013 Author Share Posted March 9, 2013 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... Link to comment
iPrestege Posted March 9, 2013 Share Posted March 9, 2013 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 . Link to comment
Wes Posted March 9, 2013 Author Share Posted March 9, 2013 Why do you need to add radius? I don't understand that. What Radius? Link to comment
iPrestege Posted March 9, 2013 Share Posted March 9, 2013 floating point number representing the radius that will be eliminated. Link to comment
Wes Posted March 9, 2013 Author Share Posted March 9, 2013 Alright, It's working now. How can I do that if the given player gets closer to the gate, it automatically moves? Link to comment
iPrestege Posted March 9, 2013 Share Posted March 9, 2013 You Can Use This Functions And Event's : Event's : onMarkerHit onMarkerLeave Function's : createObject moveObject Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now