RemoveGameWorld

From Multi Theft Auto: Wiki
Revision as of 17:04, 18 January 2025 by Xenius (talk | contribs) (add removeGameWorld)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BETA: NEW FEATURE (BUILD: 1.6.0 r22909)

This function removes the entire game world and also clears the dummies pool.

Syntax

nil removeGameWorld()

Returns

This function does not return any value.

Example

This example removes game world.

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

See Also