0249

From GTAMods Wiki
Revision as of 06:47, 7 July 2017 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas MARK_MODEL_AS_NO_LONGER_NEEDED


Description
Marks the model as unneeded
Syntax
0249: release_model [int]
Model.Destroy( [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
MARK_MODEL_AS_NO_LONGER_NEEDED

This opcode marks the model as unneeded, usually after it is requested through opcode 0247. The reference to the model doesn't disappear immediately so it's possible, though not recommended, to spawn objects without requesting the model again after this opcode is used.

Example

See 009A#Example, 00A5#Example, 010E#Example, 01B2#Example

Keywords

release, destroy, unload, model