ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. engineStreamingRequestModel

Function

engineStreamingRequestModel

ClientGame engineIdentical to MTA:SA

Asks the game to load a model into memory (e.g. before creating many objects at once).

Syntax

bool engineStreamingRequestModel(int modelID [, bool addReference, bool blocking])

Arguments

modelIDint
The model.
addReferencebool, optional
For compatibility with existing scripts.
blockingbool, optional
For compatibility with existing scripts.

Returns

true on success.

Example

engineStreamingRequestModel(3458)

See also