Difference between revisions of "0249"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 2: Line 2:
 
| ini        = 0249=1,%1o%
 
| ini        = 0249=1,%1o%
 
| description = Releases the model from memory
 
| description = Releases the model from memory
| p1          = [[DFF]] model ID or name as defined at the beginning of the <code>main.scm</code>
+
| p1          = [[DFF]] model ID or name as defined at the beginning of the <code>[[main.scm]]</code>
| game        = GTA3, Vice City, San Andreas
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
| native      = [[MARK_MODEL_AS_NO_LONGER_NEEDED]]
 
| native      = [[MARK_MODEL_AS_NO_LONGER_NEEDED]]
 
}}
 
}}
 
This opcode releases the model after [[0247]] is used.
 
This opcode releases the model after [[0247]] is used.
 +
 +
==Note==
 +
In [[Sanny Builder]], this opcode is equivalent to the command '''Model.Destroy'''.
 +
Example: <source lang="scm">Model.Destroy(#BFORI)</source>
  
 
==Keywords==
 
==Keywords==
release, model
+
release, destroy, unload, model
 
 
[[Category:OpCodes]]
 

Revision as of 03:16, 15 January 2010

{{{games}}}


Description
Releases the model from memory
Syntax
{{{syntax1}}}
Parameter
Native analog
MARK_MODEL_AS_NO_LONGER_NEEDED

This opcode releases the model after 0247 is used.

Note

In Sanny Builder, this opcode is equivalent to the command Model.Destroy.

Example:

Model.Destroy(#BFORI)

Keywords

release, destroy, unload, model