Jump to content

removeWorldModel problem


SheriFF

Recommended Posts

Posted

Hello! I am working at my own custom map and in order to do this i need to delete the default GTA SA map. For an unknown reason this little script( server side ) :

for i=550,20000 do
    removeWorldModel(i,10000,0,0,0,0) --Here the interior is set to 0
end

deletes the interiors too and i don't want that to happen.

 

  • MTA Team
Posted

Try without the interior argument.

for i=550,20000 do
    removeWorldModel(i,10000,0,0,0) --Here the interior is set to 0
end

 

Posted

I think is a bug because, when i set interior to 0, all the models are deleted but, when i set the interior to i.e 1 only the objects in interior 1 are deleted.Please, i need help!

Second, the script doesn't remove these bushes

gLkpadf.jpg?1

Posted

These bushes could be stay there because of:

Quote
  • interior: The interior ID to apply the removal to ( some objects in interior 13 show in all interiors so if you want to remove everything in interior 0 also remove everything in interior 13 )

 

  • Like 1

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...