Difference between revisions of "0247"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | ini = 0247=1,%1o% | |
− | + | | description = Loads a model into memory | |
− | + | | p1 = [[DFF]] model ID or name as defined at the beginning of the <code>main.scm</code> | |
− | + | | game = GTA3, Vice City, San Andreas | |
− | + | | native = [[REQUEST_MODEL]] | |
− | This opcode is almost always required when using opcodes that creates | + | }} |
+ | 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