EngineRestream

From Multi Theft Auto: Wiki
Revision as of 18:42, 13 January 2026 by LamarDev (talk | contribs) (create engineRestream page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.7.0 r25613:
This function re-streams a specific group of models in the GTA world.

Syntax

bool engineRestream ( [ string restreamOption = "world" ] )

Optional Arguments

  • restreamOption: The specific group of models you want to re-stream. It can be: "world", "vehicles", "peds", "objects"

Returns

Returns true if the re-stream was successful, false otherwise.

Example

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

addEventHandler ("onClientResourceStart", resourceRoot, function ()
    engineRestream ("vehicles")
end)

See Also