Difference between revisions of "004E"

From GTAMods Wiki
Jump to navigation Jump to search
 
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code>004E=0,</code><br>
+
{{OpCode
'''Description''': Ends the thread<br>
+
| games      = {{Icon|t}}
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| command    = TERMINATE_THIS_SCRIPT
 +
| description = Ends this [[script]]
 +
| syntax1    = 004E: end_thread
 +
| syntax2    = end_thread
 +
| p1t        = ''none''
 +
}}
  
This opcodes stops the execution of the [[thread]] that used this opcode. All thread data (such as local variables, timers) immediately are nulled and the thread 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.
  
==Keywords==
+
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.
thread, end
 
  
[[Category:OpCodes]]
+
== Keywords ==
 +
mission, thread, end, terminate, script
 +
 
 +
== See also ==
 +
* {{Icon|t}} [[0459]], ends all scripts with this name

Latest revision as of 01:49, 6 December 2016

GTA III Vice City San Andreas TERMINATE_THIS_SCRIPT


Description
Ends this 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 all scripts with this name