natives.HAS MODEL LOADED: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
Line 4: Line 4:
|type = function
|type = function
|name = natives.HAS_MODEL_LOADED
|name = natives.HAS_MODEL_LOADED
|parameters = int modelId
|parameters = int model
|parameter1 = int modelId Model identifier.
|parameter1 = int model Model identifier.
|usage = Check if a model has finished loading.
|usage = checks whether a requested model has finished loading into memory
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Revision as of 11:54, 13 June 2026

natives.HAS_MODEL_LOADED

Signature: void natives.HAS_MODEL_LOADED(int model)

Usage: checks whether a requested model has finished loading into memory

Parameters

int model Model identifier.

Return

void

On failure: void