Difference between revisions of "03A4"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|t}} '''SCRIPT_NAME'''
| ini        = 03A4=1,%1s%
+
<hr />
| description = Gives a new name for thread
+
'''Description'''
| p1          = short string (8 bytes)
+
: Names the [[thread|script]]
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
'''Syntax'''
}}
+
: 03A4: name_thread '[''string'']'
This opcode gives a new name for the current [[thread]]. By default, any new thread gets the name ''NONAME'', but this opcode could change it. You can use the given name later to end the thread with opcode [[0459]]. Thread name should be less than 8 letters (7 max).
+
: thread '[''string'']'
 +
'''Parameter'''
 +
: [''string'']
 +
:: 7-character string
  
==Keywords==
+
This opcode names the current [[thread|script]]. Any upper case letters (A-Z) are converted to lower case by the game internally. By default, any new script is named ''noname'' but this opcode can change that. Opcode [[0459]] can be used to end scripts with this given name.
 +
 
 +
== Keywords ==
 
thread, script, name
 
thread, script, name
 +
 +
[[Category:OpCodes]]

Revision as of 06:31, 22 July 2015

GTA III Vice City San Andreas SCRIPT_NAME


Description

Names the script

Syntax

03A4: name_thread '[string]'
thread '[string]'

Parameter

[string]
7-character string

This opcode names the current script. Any upper case letters (A-Z) are converted to lower case by the game internally. By default, any new script is named noname but this opcode can change that. Opcode 0459 can be used to end scripts with this given name.

Keywords

thread, script, name