engineRestreamWorld | Multi Theft Auto: Wiki Skip to content

engineRestreamWorld

Client-side
Server-side
Shared

Updated in 1.6.0-9.22663

This function re-streams everything in the GTA world. This function will force unload all models. This can be useful if you try to replace buildings in SA world.

Syntax

bool engineRestreamWorld ( )

Returns

  • bool: result

Always returns true.

Code Examples

client

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

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

Changelog

  • 1.6.0-9.21712

    Added includeLODs argument.

  • 1.6.0-9.22663

    Removed includeLODs argument. Now it's always true.

  • See Also

    Engine Functions