RemoveGameWorld: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(add removeGameWorld)
 
No edit summary
Line 24: Line 24:


==See Also==
==See Also==
{{World functions}}
{{Client_world_functions}}

Revision as of 17:06, 18 January 2025

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