RestoreAllGameBuildings: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
==Example== | ==Example== | ||
This example restores game buildings. | |||
<syntaxhighlight lang="lua"> | |||
addEventHandler("onClientResourceStop", resourceRoot, function() | |||
restoreAllGameBuildings() | |||
end) | |||
</syntaxhighlight> | |||
==See Also== | ==See Also== | ||
{{Building functions}} | {{Building functions}} |
Latest revision as of 11:26, 30 June 2025
![]() |
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
This function does not return any value.
Example
This example restores game buildings.
addEventHandler("onClientResourceStop", resourceRoot, function() restoreAllGameBuildings() end)
See Also