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

Add removeGameWorld and restoreGameWorld

Open TheNormalnij opened this issue 1 year ago • 2 comments

Fixes #3607 removeAllGameBuildings cleans only buildings pool and leaves rare dynamic elements in the game world. removeGameWorld fixes that issue by cleaning the dummies pool too.

-- Removes all buildings and dummies from game world and frees both pools
nil removeGameWorld()

-- Restores all buildings and dummies
nil restoreGameWorld()

removeAllGameBuildings and restoreAllGameBuildings will be deprecated and removed in future releases

TheNormalnij avatar Aug 02 '24 21:08 TheNormalnij

@TheNormalnij will u please update the wiki? Let me know if u need advice

Fernando-A-Rocha avatar Oct 15 '24 01:10 Fernando-A-Rocha

@TheNormalnij will u please update the wiki? Let me know if u need advice

Yep

TheNormalnij avatar Oct 15 '24 01:10 TheNormalnij