Grinch_ Posted May 7, 2019 Share Posted May 7, 2019 First of all, sry if I'm posting in the wrong board(move it if yes). Ok, so I was trying to remove an object from the map editor & got stuck on a dynamic object, https://i.ibb.co/5nGfD5J/mta-screen-2019-05-07-10-48-20.png The world object remover seemed to not work on that, after doing some search I found this thing here bool removeWorldModel ( int modelID, float radius, float x, float y, float z [, int interior = 0 ] ) This function seems to take x,y,z as a parameter but I can't seem to even select that object from the editor, so how could I get its coordinates? Link to comment
Moderators Patrick Posted May 7, 2019 Moderators Share Posted May 7, 2019 (edited) You need to use SAMP Editor. (Download link: https://www.moddb.com/downloads/san-andreas-multiplayer-map-editor) With this editor you can find and select this fence. If you selected it, at the right side, you can see the modelID(IDE) and the coordinates (x,y,z). I do it: removeWorldModel(1413, 1, 1658.9141, -2120.2813, 13.6797) removeWorldModel(1412, 1, 1658.8359, -2114.9609, 13.6797) removeWorldModel(1413, 1, 1658.8359, -2109.6875, 13.6797) removeWorldModel(1413, 1, 1658.8359, -2104.4063, 13.6797) Edited May 7, 2019 by stPatrick 1 Link to comment
JustinMTA Posted May 7, 2019 Share Posted May 7, 2019 (edited) 1 hour ago, stPatrick said: You need to use SAMP Editor. (Download link: https://www.moddb.com/downloads/san-andreas-multiplayer-map-editor) With this editor you can find and select this fence. If you selected it, at the right side, you can see the modelID(IDE) and the coordinates (x,y,z). I do it: removeWorldModel(1413, 1, 1658.9141, -2120.2813, 13.6797) removeWorldModel(1412, 1, 1658.8359, -2114.9609, 13.6797) removeWorldModel(1413, 1, 1658.8359, -2109.6875, 13.6797) removeWorldModel(1413, 1, 1658.8359, -2104.4063, 13.6797) Exactly ^https://prnt.sc/luv31o But you can keep up to date with @CodyJ(L)'s map editor He's taken the initiative to solve this exact problem. It's always been interesting to me that MTA makes people retrieve the default objects XYZ using this SAMP editor haha, I suppose there's just been much more important stuff for the MTA devs to solve. Anyways, Cody's doing the work of an alien robot by making a map editor we've all dreamed about Edited May 7, 2019 by JustinMTA Added a link 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