RemoveAllGameBuildings: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}}
{{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}}
{{Note|This function does not affect buildings created using the [[createBuilding]] function}}
{{Note|This function does not affect buildings created using the [[createBuilding]] function}}
{{Deprecated}}
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight>  
<syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight>  
Line 10: Line 11:
Nothing
Nothing


==Example==
{{Needs Example}}
{{Needs Example}}


==See Also==
==See Also==
{{Building functions}}
{{Building functions}}

Latest revision as of 23:09, 22 October 2024

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, but there should be a more generic way to perform what it does.

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