mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

removeAllGameBuildings doesn't remove the whole map

Open MrSol0 opened this issue 1 year ago • 0 comments

Describe the bug

The issue i'm having is that removeAllGameBuildings causes some world models such as palm trees ID 710 to not get deleted or the hanger door, or some gates, and even using things such as removeWorldObject in a map file or removeWorldModel doesn't affect these objects left on the map and doesn't delete them, and if you done so before using removeAllGameBuildings they are restored again and not able to be deleted even after you disconnect, the only way to delete them again is exiting the game and connecting again.

1-- This is after deleting the palm trees using removeWorldObject map file.

Capture

2-- This is after using removeAllGameBuildings() for the first time. after the first picture directly

Capture

3- Now the palm trees are permanently not deleteable even after you reconnect, and the only way to delete the palm trees again is after you exit GTA SA game and start it again.

Capture

4- To note this is not just for Palm trees but other world objects too.

Steps to reproduce

1- use removeAllGameBuildings() to delete the whole map 2- this step you can do either after or before, make a map file and this line <removeWorldObject id="removeWorldObject (vgs_palm01) (1)" radius="2000" interior="-1" model="710" lodModel="0" posX="1402.0859" posY="785.11719" posZ="25.54688" rotX="0" rotY="0" rotZ="0"></removeWorldObject> those trees exist in the LV church beside the bridge to LS. and notice how it doesn't get deleted even after you reconnect to the server.

Version

No response

Additional context

No response

Relevant log output

No response

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not security related.

MrSol0 avatar Jul 26 '24 17:07 MrSol0