Difference between revisions of "0002"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{Icon|trilogy}}
+
{{Icon|trilogy}} '''GOTO'''
 
 
 
<hr />
 
<hr />
 
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
 
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
Line 9: Line 8:
 
: jump [label]
 
: jump [label]
 
'''Parameters'''
 
'''Parameters'''
: [''Label'']
+
: [''label'']
:: The destination [[label]]
+
:: The position in the script it will go to, usually identified by a [[label]]
  
 
This is used in unconditional jumps. In both the Mission Builder and [[Sanny Builder]], you can use the '''jump''' keyword instead. The destination point is identified by a label, which is then used as a parameter.
 
This is used in unconditional jumps. In both the Mission Builder and [[Sanny Builder]], you can use the '''jump''' keyword instead. The destination point is identified by a label, which is then used as a parameter.
 
}}</onlyinclude>
 
}}</onlyinclude>
  
==See Also==
+
==See also==
[[Label]]
+
* [[Label]]
  
 
==Keywords==
 
==Keywords==

Revision as of 03:19, 27 December 2014

GTA III Vice City San Andreas GOTO


Description

Jumps to a label in the thread.

Syntax

0002: jump [label]
jump [label]

Parameters

[label]
The position in the script it will go to, usually identified by a label

This is used in unconditional jumps. In both the Mission Builder and Sanny Builder, you can use the jump keyword instead. The destination point is identified by a label, which is then used as a parameter.

See also

Keywords

jump, goto, label