mtasa-blue
mtasa-blue copied to clipboard
Fix building removal
Fixes an issue #2631. When radius passed is zero, it works as before. Otherwise it restores all models that intersect with a sphere of the specified radius. Not backward compatible, but there's no other way to do it.
Does not work for me
Executing client-side command: removeWorldModel(1337, 10000, 0, 0, 0)
Command results: true [boolean], 9 [number]
Executing client-side command: restoreWorldModel(1337, 5, -2710, 972, 55)
Command results: true [boolean], 9 [number]
Executing client-side command: removeWorldModel(1337, 10000, 0, 0, 0)
Command results: true [boolean], 2 [number]
This draft pull request is stale because it has been open for at least 90 days with no activity. Please continue on your draft pull request or it will be closed in 30 days automatically.
This draft pull request was closed because it has been marked stale for 30 days with no activity.