EngineStreamingGetModelLoadState

From Multi Theft Auto: Wiki
Revision as of 09:16, 29 August 2024 by TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.1|22676|This function returns load state of model.}} ==Syntax== <syntaxhighlight lang="lua"> string engineStreamingGetModelLoadState( number modelID ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. ===Returns=== Returns ''string'' with model load state. Possible load states: * unloaded - model is not loaded. * loaded - model is loaded. * requested - model is wa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.1 r22676:
This function returns load state of model.

Syntax

string engineStreamingGetModelLoadState( number modelID )

Required Arguments

  • modelID: ID of the model you want to get flags.

Returns

Returns string with model load state. Possible load states:

  • unloaded - model is not loaded.
  • loaded - model is loaded.
  • requested - model is waiting for loading.
  • reading - model is being read
  • finishing - second reading state for big models.

See Also