RestoreAllGameBuildings: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function cancels RemoveAllGameBuildings efffect}} {{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}} ==Syntax== <syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}")
 
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}
{{Client function}}
{{New feature/item|3.0161|1.6.0|22420|This function cancels [[RemoveAllGameBuildings]] efffect}}
{{New feature/item|3.0161|1.6.0|22420|This function cancels [[removeAllGameBuildings]] effect}}
{{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}}
{{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}}
{{Deprecated|restoreGameWorld|See [https://github.com/multitheftauto/mtasa-blue/pull/3627 this pull request].}}
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight>  
<syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight>  
Line 9: Line 10:
===Returns===
===Returns===
Nothing
Nothing
==Example==
{{Needs Example}}


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

Latest revision as of 09:28, 13 November 2024

ADDED/UPDATED IN VERSION 1.6.0 r22420:
This function cancels removeAllGameBuildings effect
[[{{{image}}}|link=|]] Note: This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.
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 restoreGameWorld instead. See this pull request.

Syntax

nil restoreAllGameBuildings ( )


Returns

Nothing

Example

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

Before submitting check out Editing Guidelines Script Examples.


See Also