0248

From GTAMods Wiki
Revision as of 14:24, 16 December 2016 by Spaceeinstein (talk | contribs) (correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas HAS_MODEL_LOADED


Description
Checks if the model has been loaded
Syntax
0248:   model [int] available
Model.Available( [int] )
Parameter
[int]
Valid model index as defined in the IDE file; also acceptable is model's DFF name with a hash character
Native analog
HAS_MODEL_LOADED

This opcode returns true if the model has been loaded. A model can load in a number of ways, including using opcode 0247 or traveling to the location of a placed object that uses the model. The check can be avoided if opcode 038B is used.

Keywords

has, check, model, loaded, available