Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0A92

Opcode Database

0A92

DescriptionCreates a new thread from the file. If the file has an extension .cs the thread from it is created automatically at game startup. At creating a custom thread, you can pass up to 34 parameters to it, like in 004F.

Parameter: file name. The name must be specified with an extension if it has one. The file is retrieved relatively of the directory 'gameCLEO' which is default path for any CLEO files.

Note: In the latest versions of CLEO 4, this opcode is known to return TRUE or FALSE depending on whether the script was loaded or not respectively.
Parameters (v2)1) File path (Long String) (STRING)
2) Call arguments (...)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0A92=-1,start_new_custom_script %1s%
Example0A92: start_new_custom_script "ShowTextBox.s"
Command NameSTART_NEW_CUSTOM_SCRIPT

<< 0A91

0A93 >>