Haze Posted February 17, 2012 Share Posted February 17, 2012 I tryd to make a Few Cods to Remove The Orginal objects From the Map Using that New Fucntion RemoveWorledObject I tryd to do a lot of things but nothing happind can someone help me with Example just Example on How to Do it plz Thank you Link to comment
Xeno Posted February 17, 2012 Share Posted February 17, 2012 Show us the code you tried. Link to comment
Haze Posted February 17, 2012 Author Share Posted February 17, 2012 function removedar() removeWorldModel(16617,1000,2494.1086425781,-1697.3459472656,23.620510101318) end addCommandHandler ( "dar", removedar, false ) Plz Help this is the Code Link to comment
drk Posted February 17, 2012 Share Posted February 17, 2012 RequirementsMinimum supported server 1.2.0-9.03618 Minimum supported client 1.2.0-9.03618 Note: Using this function requires the resource to have the above minimum version declared in the meta.xml section. Note: There are two types of world objects Binary IPL (anything not in data/maps and in gta3.img) and data IPL (anything in data/maps) Binary IPL removal requires a stream out if you are deleting anything within 300 units (anything visible) you can just move the camera to do this. Data IPL are removed instantly and this is not required. Also LOD objects are not removed automatically so you need to remove them separately. I would strongly advise you use this server side rather than client side because it will just function infinitely better as you should not need to handle streaming it out/back in. removeWorldModel(16617,1000,-300,1556,75) --lod This model is a lod. Link to comment
BorderLine Posted February 17, 2012 Share Posted February 17, 2012 im using this fuction to delete gates in area 51. Im not sure but the objects dessapear when you leave mta and join again. If you want remove object for ever just must do this removeWorldModel(16617,1000,2494.1086425781,-1697.3459472656,23.620510101318) this work, but if you want with comand and when u do it. this will not dessapear. 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