EngineRestreamWorld

From Multi Theft Auto: Wiki
Revision as of 18:37, 16 June 2023 by Xenius (talk | contribs)
Jump to navigation Jump to search

This function re-streams everything in the GTA world.

Syntax

bool engineRestreamWorld ( [bool includeLODs] )

Returns

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

Optional Arguments

  • includeLODs: If is set to true this function will re-stream LOD models too.

Example

This function can be used after a model (or more) is loaded with engineLoadDFF:

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

Requirements

This template will be deleted.

Changelog

Version Description
1.6.0-9.21712 Added includeLODs argument

See Also