engineRestreamWorld | Multi Theft Auto: Wiki Skip to content

engineRestreamWorld

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function re-streams everything in the GTA world. Read this pull request to understand what it is for.

Syntax

bool engineRestreamWorld ( )

Returns

  • bool: value

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

Code Examples

shared

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

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

See Also

Engine Functions
Engine Elements