restoreGameWorld | Multi Theft Auto: Wiki Skip to content

restoreGameWorld

Client-side
Server-side
Shared

Manual Review Required

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


This function restores the entire game world.

Syntax

​nil restoreGameWorld ( )

Returns

  • nil: value

This function does not return any value.

Code Examples

shared

This example restores game world.

addEventHandler("onClientResourceStop", resourceRoot, function()
restoreGameWorld()
end)

See Also

World Functions