RestoreGameWorld: 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:
__NOTOC__
{{Client function}}
 
__NOTOC__
{{Client function}}  
{{Added feature/item|1.6.1|1.6.0|22909|  
{{Added feature/item|1.6.1|1.6.0|22909|  
This function restores the entire game world.
This function restores the entire game world.
Line 21: Line 20:
end)
end)
</syntaxhighlight>
</syntaxhighlight>
[[pl:restoreGameWorld]]


==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 restores the entire game world.

Syntax

nil restoreGameWorld()

Returns

This function does not return any value.

Example

This example restores game world.

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

See Also