Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AAA

Opcode Database

0AAA

DescriptionThis opcode tests if a thread with given name is active. If so, opcode will store the address of this thread to a variable. If a thread with given name is not found in the game memory, the variable's value will be 0.

Parameters:
1 = a variable to store search result
2 = a thread name to search
Parameters (v2)1) String (TEXT_LABEL)
2) (Returned) Memory address (Integer) (INT)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0AAA=2,get_script_struct_named %1s% store_to %2d%
Example0AAA: get_script_struct_named 'OTB' store_to 0@
Command NameGET_SCRIPT_STRUCT_NAMED

<< 0AA9

0AAB >>