restoreAllWorldModels | Multi Theft Auto: Wiki Skip to content

restoreAllWorldModels

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function allows restoring of all world objects, which were removed with removeWorldModel.

Syntax

restoreAllWorldModels ( )

Code Examples

server

This example adds command"restoreallworldobjects"that restores all world objects.

addCommandHandler("restoreallworldobjects",
function()
restoreAllWorldModels()
end
)

See Also

World Functions