Posts: 2,474
Threads: 79
Joined: Apr 2010
Reputation:
0
Hello, as the title says I am wondering if it is possible to remove the whole map in one code? Because I need this for a project.
I once tried a small piece of code that should've removed it all but it made SA-MP crash.
Does anyone know a way wich doesn't invlolve me sitting infront of my pc carefully selecting every object and deleting them?
Posts: 1,679
Threads: 232
Joined: Nov 2009
Reputation:
0
O.O you want to delete whole san andreas? if i undestood well? :P
Posts: 6,129
Threads: 36
Joined: Jan 2009
In "one code?" Probably not. I think your best bet is trying to individually remove buildings in your area with the RemovePlayerBuilding function, but you're going to have hundreds of lines of code.
Posts: 2,474
Threads: 79
Joined: Apr 2010
Reputation:
0
Ah poop, and there is no such code with all the removebuidlings yet?
Posts: 6,129
Threads: 36
Joined: Jan 2009
JernejL's map editor is pretty advanced, if you can select masses of objects to delete, I'm sure it'll be a lot easier.
If you're looking in to remapping an area, why don't you consider taking some woodland and trying to remove the objects from the area? If you can.
Quote:
Originally Posted by rinori
Thousands of line of codes.
|
True.