03A4

From GTAMods Wiki
Revision as of 22:49, 22 December 2016 by Link2012 (talk | contribs)
Jump to navigation Jump to search

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.

In GTA3script there cannot be two scripts with the same name in a given multifile, in such case the compiler will emit an error.

Keywords

thread, script, name