Difference between revisions of "0247"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<code>0247=1,%1o%</code><br>
+
{{OpCode
'''Description''': Loads a model into memory<br>
+
| ini        = 0247=1,%1o%
'''Parameter 1''': [[DFF]] model ID or name as defined at the beginning of the <code>main.scm</code><br>
+
| description = Loads a model into memory
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| p1          = [[DFF]] model ID or name as defined at the beginning of the <code>main.scm</code>
'''Analogous to GTA4:''' [[REQUEST_MODEL]]
+
| game        = GTA3, Vice City, San Andreas
 
+
| native      = [[REQUEST_MODEL]]
This opcode is almost always required when using opcodes that creates actors, vehicles, or objects. This is also used to speed up loading certain map objects that you want to load quickly. [[0248]] checks if the model is loaded and [[0249]] marks the model as no longer needed.
+
}}
 +
This opcode is almost always required when using opcodes that creates characters, vehicles, or objects. This is also used to speed up loading certain map objects that you want to load quickly. [[0248]] checks if the model is loaded and [[0249]] marks the model as no longer needed.
  
 
==Keywords==
 
==Keywords==

Revision as of 19:55, 27 December 2008

{{{games}}}


Description
Loads a model into memory
Syntax
{{{syntax1}}}
Parameter
Native analog
REQUEST_MODEL

This opcode is almost always required when using opcodes that creates characters, vehicles, or objects. This is also used to speed up loading certain map objects that you want to load quickly. 0248 checks if the model is loaded and 0249 marks the model as no longer needed.

Keywords

load, request, model