RemoveGameWorld: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Client function}}  
{{Client function}}
__NOTOC__
__NOTOC__  
{{Added feature/item|1.6.1|1.6.0|22909|  
{{Added feature/item|1.6.1|1.6.0|22909|  
This function removes the entire game world and also clears the dummies pool.
This function removes the entire game world and also clears the dummies pool.
Line 20: Line 20:
end)
end)
</syntaxhighlight>
</syntaxhighlight>
[[pl:removeGameWorld]]


==See Also==
==See Also==
{{Client_world_functions}}
{{Client_world_functions}}

Latest revision as of 17:18, 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