00D7

From GTAMods Wiki
Revision as of 22:01, 24 June 2015 by Seemann (talk | contribs)
Jump to navigation Jump to search

GTA III Vice City San Andreas LAUNCH_MISSION


Description

Starts a new script

Syntax

00D7: create_thread [offset]

Parameter

offset
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. 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