Difference between revisions of "0247"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
 
'''Supports''': GTA3, Vice City, San Andreas<br>
 
'''Supports''': GTA3, Vice City, San Andreas<br>
  
This opcode is almost always required when using opcodes that creates actors, vehicles, or objects. [[0248]] checks if the model is loaded.
+
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==
 
==Keywords==

Revision as of 01:16, 13 October 2007

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

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