Difference between revisions of "0247"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 3: Line 3:
 
'''Parameter 1''': [[DFF]] model ID or name as defined at the beginning of the <code>main.scm</code><br>
 
'''Parameter 1''': [[DFF]] model ID or name as defined at the beginning of the <code>main.scm</code><br>
 
'''Supports''': GTA3, Vice City, San Andreas<br>
 
'''Supports''': GTA3, Vice City, San Andreas<br>
 +
'''Analogous to GTA4:''' [[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 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.

Revision as of 18:54, 27 December 2008

0247=1,%1o%
Description: Loads a model into memory
Parameter 1: DFF model ID or name as defined at the beginning of the main.scm
Supports: GTA3, Vice City, San Andreas
Analogous to GTA4: 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.

Keywords

load, request, model