RemoveAllGameBuildings

From Multi Theft Auto: Wiki
Revision as of 14:17, 22 October 2024 by Fernando187 (talk | contribs)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r22420:
This function is used to remove all world buildings and frees building pool.
[[{{{image}}}|link=|]] Note: This function does not affect buildings created using the createBuilding function
Emblem-important.png This function is deprecated. This means that its use is discouraged and that it might not exist in future versions.

Please use removeGameWorld instead. See mtasa-blue PR #3627

Syntax

nil removeAllGameBuildings ( )


Returns

Nothing

Example

Accessories-text-editor.png Script Example Missing Function RemoveAllGameBuildings needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


See Also