Difference between revisions of "004E"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
Line 12: Line 12:
 
This opcode stops the execution of the [[thread]] created through opcodes [[00D7]] or [[004F]], or the mission. All data within the thread or mission (such as local variables, timers) immediately are nulled and the thread is removed from the game memory.
 
This opcode stops the execution of the [[thread]] created through opcodes [[00D7]] or [[004F]], or the mission. All data within the thread or mission (such as local variables, timers) immediately are nulled and the thread is removed from the game memory.
 
}}</onlyinclude>
 
}}</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 current custom thread.
  
 
== Keywords ==
 
== Keywords ==
thread, end, script
+
mission, thread, end, script
  
 
== See also ==
 
== See also ==

Revision as of 06:46, 19 March 2012

GTA III Vice City San Andreas MISSION_END


Description

Ends the thread

Syntax

004E: end_thread
end_thread

Parameter

none

This opcode stops the execution of the thread created through opcodes 00D7 or 004F, or the mission. All data within the thread or mission (such as local variables, timers) immediately are nulled and the thread 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 current custom thread.

Keywords

mission, thread, end, script

See also

  • 0459, ends a named thread