Difference between revisions of "0459"

From GTAMods Wiki
Jump to navigation Jump to search
(works in iii)
Line 1: Line 1:
<code>0459=1,%1s%</code><br>
+
{{OpCode
'''Description''': Ends the thread<br>
+
| ini        = 0459=1,%1s%
'''Parameter 1''': String<br>
+
| description = Ends the named [[thread]]
'''Supports''': Vice City, San Andreas<br>
+
| p1          = Thread name
 
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
This opcode stops the execution of the thread [[03A4|named]] same as the passed string parameter. If there are a few threads having such a name, all of them will be ended.
+
| native      = [[TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME]]
 +
}}
 +
This opcode stops the execution of the thread [[03A4|named]] same as the passed string parameter. If there are other threads with the same name, all of them will be ended.
  
 
==Keywords==
 
==Keywords==
thread, end
+
thread, script, end, terminate
 
 
[[Category:OpCodes]]
 

Revision as of 02:10, 1 May 2010

{{{games}}}


Description
Ends the named thread
Syntax
{{{syntax1}}}
Parameter
Native analog
TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME

This opcode stops the execution of the thread named same as the passed string parameter. If there are other threads with the same name, all of them will be ended.

Keywords

thread, script, end, terminate