Jump to content

How to eliminate the SA world?


Soren

Recommended Posts

Posted

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?

Posted

I've tested what sniper posted and it only removed parts of the world map.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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.

560x95_FFFFFF_FF9900_000000_000000.png

Posted

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.

560x95_FFFFFF_FF9900_000000_000000.png

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...