removeGameWorld | Multi Theft Auto: Wiki Skip to content

removeGameWorld

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 removes the entire game world and also clears the dummies pool.

Syntax

nil removeGameWorld ( )

Returns

  • nil: value

This function does not return any value.

Code Examples

shared

This example removes game world.

addEventHandler("onClientResourceStart", resourceRoot, function()
removeGameWorld()
end)

See Also

World Functions