Soren Posted March 30, 2012 Posted March 30, 2012 Hi all, i need to aliminate all the SA world cause i want to create a new map there. This is what diegofkda told me to put: for i=0,200000 do removeWorldModel(i, 0, 0, 0, 0) end But it dosnt work. Any other way to do it?
-ffs-Sniper Posted March 30, 2012 Posted March 30, 2012 Try this one: for i = 0, 20000 do removeWorldModel(i, 8192, 0, 0, 0) end
Soren Posted March 30, 2012 Author Posted March 30, 2012 Try this one: for i = 0, 20000 do removeWorldModel(i, 8192, 0, 0, 0) end Didnt work
Castillo Posted March 30, 2012 Posted March 30, 2012 I've tested what sniper posted and it only removed parts of the world map.
-ffs-Sniper Posted March 30, 2012 Posted March 30, 2012 True, but there must be something wrong with the function then. Update: It works after executing the script 2 times in a row. The streamed in objects will still be there but if you fly away from them and back they are not there anymore.
death666machine Posted March 30, 2012 Posted March 30, 2012 Try this one: for i = 0, 20000 do removeWorldModel(i, 8192, 0, 0, 0) end If you don't mind me asking why did you use 20000, and what is model id 8192
-ffs-Sniper Posted March 30, 2012 Posted March 30, 2012 20000 is the maximum model ID in the GTA world while 8192 determines the radius of the area where models should be deleted. (8192 and -8192 are the maximum X and Y coordinates). Take a closer look at the removeWorldModel function in the wiki.
death666machine Posted March 30, 2012 Posted March 30, 2012 ok thanks ffs sorry kinda a noob at this stuff for now
-ffs-Sniper Posted March 30, 2012 Posted March 30, 2012 No problem, you're welcome. We all used to be noobs at the beginning
Soren Posted March 31, 2012 Author Posted March 31, 2012 True, but there must be something wrong with the function then.Update: It works after executing the script 2 times in a row. The streamed in objects will still be there but if you fly away from them and back they are not there anymore. Ok, i will test it tomorrow cause its late and im tired
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