Difference between revisions of "004E"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{Icon|trilogy}} '''TERMINATE_THIS_SCRIPT'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = TERMINATE_THIS_SCRIPT
'''Description'''
+
| description = Ends the [[script]]
: Ends the [[thread|script]]
+
| syntax1    = 004E: end_thread
'''Syntax'''
+
| syntax2    = end_thread
: 004E: end_thread
+
| p1t        = ''none''
: end_thread
+
}}
'''Parameter'''
 
: ''none''
 
  
This opcode stops the execution of the [[thread|script]] in which it is used. All data within the script (such as local variables and timers) immediately are nulled and the script is removed from the game memory.
+
This opcode stops the execution of the [[script]] in which it is used. All data within the script (such as local variables and timers) immediately are nulled and the script is removed from the game memory.
}}</onlyinclude>
 
  
 
This opcode must not be used in [[CLEO]]. Use CLEO's opcode [[0A93]] in San Andreas or 05DD in GTA III and Vice City to end the custom script.
 
This opcode must not be used in [[CLEO]]. Use CLEO's opcode [[0A93]] in San Andreas or 05DD in GTA III and Vice City to end the custom script.
Line 19: Line 16:
  
 
== See also ==
 
== See also ==
* [[0459]], ends a named script
+
* {{Icon|t}} [[0459]], ends the named script
 
 
[[Category:OpCodes]]
 

Revision as of 01:42, 6 December 2016

GTA III Vice City San Andreas TERMINATE_THIS_SCRIPT


Description
Ends the script
Syntax
004E: end_thread
end_thread
Parameter
none

This opcode stops the execution of the script in which it is used. All data within the script (such as local variables and timers) immediately are nulled and the script is removed from the game memory.

This opcode must not be used in CLEO. Use CLEO's opcode 0A93 in San Andreas or 05DD in GTA III and Vice City to end the custom script.

Keywords

mission, thread, end, terminate, script

See also

  • GTA III Vice City San Andreas 0459, ends the named script