ryders Posted February 19, 2018 Share Posted February 19, 2018 Hi, today I was making a map, and I removed Los Santos Tower. Everything is fine, but lights are still here, and a stairs on the top. How to fix this? I tried to delete LODS model too, but nothing happens. Link to comment
delta1337 Posted March 28, 2019 Share Posted March 28, 2019 You can replace the lights with object wich has colisions and then delete it Link to comment
Moderators IIYAMA Posted April 1, 2019 Moderators Share Posted April 1, 2019 (edited) @ryders Try to use this function. (read the wiki carefully) https://wiki.multitheftauto.com/wiki/SetOcclusionsEnabled It needs to be is a script. Edited April 1, 2019 by IIYAMA Link to comment
Zorgman Posted May 2, 2019 Share Posted May 2, 2019 (edited) Heyo, Your building light object is one of these. I think it's this one, but i'm not 100% sure. You can use RemoveWorldModel to get rid of it after you identify it. This client side script will remove most night lights/neon signs etc. (but unfortunately not all of them - if somebody has a complete list of ids, I'd appreciate if you share it) : local objtoremove = {9934,9933,9932,9886,6196,6195,6194,6193,6192,5059,5058,5057,4222,4221,4220,4219,4218,4217, 4216,4215,4214,4213,4212,13493,13485,13484,13461,10147,10146,10058,10057,4715,4716,4717,4720,4721,4722,4723,4725,4739, 4740,4741,4742,4743,4744,4745,4746,4747,4748,4749,4750,4751,4752,5661,5662,5665,5990,5991,5992, 7206,7207,7208,7221,7222,7280,7333,9088,9089,9125,9154,9277,9278,9279,9280,9281,9282,9283,9885, 8502,9159,7233,8981,14628,3437,8371,8370,17957,17956,17955,17954,9129,9128,9127,9126, 9124,9123,9122,9121,8372,7944,7943,7942,7892,7332,7331,7226,7097,14561,14811,7268,9094,9095,11412,11411,11410,11324,14605, 14473,14470,14460,14406,7290,7314,7289,7266,7264,7220,7072,8395,9104,9175,8982,7666,7230,9100,9101,8840,7232} for _,obj in ipairs (objtoremove) do removeWorldModel (obj, 10000, 0, 0, 0) end Edited May 2, 2019 by Zorgman 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