Difference between revisions of "0248"
Jump to navigation
Jump to search
m |
|||
Line 2: | Line 2: | ||
| ini = 0248=1, %1o% | | ini = 0248=1, %1o% | ||
| description = Checks if the model has been loaded | | description = Checks if the model has been loaded | ||
− | | 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 = | + | | game = [[GTA 3]], [[Vice City]], [[San Andreas]] |
| native = [[HAS_MODEL_LOADED]] | | native = [[HAS_MODEL_LOADED]] | ||
}} | }} | ||
This opcode checks if the model is loaded after using [[0247]]. | This opcode checks if the model is loaded after using [[0247]]. | ||
+ | |||
+ | ==Note== | ||
+ | In [[Sanny Builder]], this opcode is equivalent to the command '''Model.Available'''. | ||
+ | Example: <source lang="scm">Model.Available(#BFORI)</source> | ||
==Keywords== | ==Keywords== | ||
has, check, model, loaded, available | has, check, model, loaded, available | ||
− | |||
− |
Revision as of 03:20, 15 January 2010
{{{games}}}
- Description
- Checks if the model has been loaded
- Syntax
- {{{syntax1}}}
- Parameter
- Native analog
- HAS_MODEL_LOADED
This opcode checks if the model is loaded after using 0247.
Note
In Sanny Builder, this opcode is equivalent to the command Model.Available.
Example:
Model.Available(#BFORI)
Keywords
has, check, model, loaded, available