Difference between revisions of "004E"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | ||
'''Description''' | '''Description''' | ||
− | : Ends the thread | + | : Ends the [[thread|script]] |
'''Syntax''' | '''Syntax''' | ||
: 004E: end_thread | : 004E: end_thread | ||
Line 10: | Line 10: | ||
: ''none'' | : ''none'' | ||
− | This opcode stops the execution of the [[thread]] | + | 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. |
}}</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 | + | 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 == | == Keywords == | ||
− | mission, thread, end, script | + | mission, thread, end, terminate, script |
== See also == | == See also == | ||
− | * [[0459]], ends a named | + | * [[0459]], ends a named script |
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 20:51, 23 July 2015
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
- 0459, ends a named script