EngineRestreamWorld: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|1|1.5.8|20704|This function re-streams everything in world.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineRestreamWorl...")
(No difference)

Revision as of 09:45, 29 November 2020

This function re-streams everything in world.

Syntax

bool engineRestreamWorld ( )

Returns

Returns true if the world was restreamed successfully, false otherwise.

Example

This function can be used after model is loaded with engineLoadDFF.

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

Requirements

This template will be deleted.

See Also