delta1337 Posted November 29, 2020 Share Posted November 29, 2020 Hello, i tried to remove street lights using code down below, but it doesnt work, i know you can apply invisible texture on it, but then you dont have vehicle lights etc, so i want to remove it from entire map, but i want to keep the corona texture removeWorldModel (corona, 10000, 0, 0, 0) https://imgur.com/a/81EzO3C Link to comment
Tekken Posted November 29, 2020 Share Posted November 29, 2020 function removeLightsOff() for i1 = 4212, 4222 do removeWorldModel(i1, 10000, 0, 0, 0); end for i2 = 4715, 4717 do removeWorldModel(i2, 10000, 0, 0, 0); end for i3 = 4720, 4725 do removeWorldModel(i3, 10000, 0, 0, 0); end for i4 = 4739, 4752 do removeWorldModel(i4, 10000, 0, 0, 0); end for i5 = 5057, 5059 do removeWorldModel(i5, 10000, 0, 0, 0); end for i6 = 5661, 5665 do removeWorldModel(i6, 10000, 0, 0, 0); end for i7 = 5990, 5992 do removeWorldModel(i7, 10000, 0, 0, 0); end for i8 = 6192, 6196 do removeWorldModel(i8, 10000, 0, 0, 0); end for i9 = 7072, 7097 do removeWorldModel(i9, 10000, 0, 0, 0); end for j1 = 7206, 7208 do removeWorldModel(j1, 10000, 0, 0, 0); end for j2 = 7221, 7226 do removeWorldModel(j2, 10000, 0, 0, 0); end for j3 = 7280, 7280 do removeWorldModel(j3, 10000, 0, 0, 0); end for j4 = 7331, 7333 do removeWorldModel(j4, 10000, 0, 0, 0); end for j5 = 7892, 7892 do removeWorldModel(j5, 10000, 0, 0, 0); end for j6 = 7942, 7944 do removeWorldModel(j6, 10000, 0, 0, 0); end for j7 = 8372, 8372 do removeWorldModel(j7, 10000, 0, 0, 0); end for j8 = 9088, 9089 do removeWorldModel(j8, 10000, 0, 0, 0); end for j9 = 9121, 9129 do removeWorldModel(j9, 10000, 0, 0, 0); end for k1 = 9154, 9159 do removeWorldModel(k1, 10000, 0, 0, 0); end for k2 = 9277, 9283 do removeWorldModel(k2, 10000, 0, 0, 0); end for k3 = 9285, 9286 do removeWorldModel(k3, 10000, 0, 0, 0); end for k4 = 9885, 9886 do removeWorldModel(k4, 10000, 0, 0, 0); end for k5 = 9932, 9934 do removeWorldModel(k5, 10000, 0, 0, 0); end for k6 = 10057, 10058 do removeWorldModel(k6, 10000, 0, 0, 0); end for k7 = 10146, 10147 do removeWorldModel(k7, 10000, 0, 0, 0); end for k8 = 11410, 11412 do removeWorldModel(k8, 10000, 0, 0, 0); end for k9 = 13461, 13461 do removeWorldModel(k9, 10000, 0, 0, 0); end for t1 = 13461, 13461 do removeWorldModel(t1, 10000, 0, 0, 0); end for t2 = 13484, 13485 do removeWorldModel(t2, 10000, 0, 0, 0); end for t3 = 13493, 13493 do removeWorldModel(t3, 10000, 0, 0, 0); end for t4 = 17954, 17957 do removeWorldModel(t4, 10000, 0, 0, 0); end end removeLightsOff(); try this Link to comment
delta1337 Posted December 6, 2020 Author Share Posted December 6, 2020 I didnt mean the house lights, i already got it deleted, but i mean the street lights Link to comment
Hydra Posted December 7, 2020 Share Posted December 7, 2020 (edited) setTrafficLightState("disabled") Edited December 7, 2020 by Hydra Link to comment
delta1337 Posted December 8, 2020 Author Share Posted December 8, 2020 Its not what i want either, its for trafficlights, not street lamps 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