Difference between revisions of "00D7"
Jump to navigation
Jump to search
(new template) |
|||
Line 9: | Line 9: | ||
:: The position in the [[main.scm]] from where the script is started, usually identified by a [[label]] | :: The position in the [[main.scm]] from where the script is started, usually identified by a [[label]] | ||
− | This opcode starts a new [[script]]. It begins an execution from the offset passed as the parameter, usually a label. This opcode works similar to [[004F]] except that it has only one parameter, without extra ones. | + | This opcode starts a new [[script]]. It begins an execution from the offset passed as the parameter, usually a label. This opcode works similar to [[004F]] except that it has only one parameter, without extra ones. In GTA III and Vice City scripts started with this opcode can use [[00D8]] within the script, it won't work in San Andreas. |
==See also== | ==See also== |
Revision as of 22:01, 24 June 2015
Description
- Starts a new script
Syntax
- 00D7: create_thread [offset]
Parameter
This opcode starts a new script. It begins an execution from the offset passed as the parameter, usually a label. This opcode works similar to 004F except that it has only one parameter, without extra ones. In GTA III and Vice City scripts started with this opcode can use 00D8 within the script, it won't work in San Andreas.
See also
- 004F – starts a new script with parameters
- 0417 – launches a mission
- 0A92 – starts a new CLEO script
- Create a thread