Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0A9E

Opcode Database

0A9E

DescriptionCopies data starting from the address, where the variable (last parameter) is, to the file.

Parameters:
1 = file handle
2 = number of bytes to copy
3 = variable indicated the starting position of writing data. If the data size is more than 4 bytes, next variable's value will be read and written to the file. In this example, the file will keep the dump of all local variables of a thread (32 variables with 4 bytes in length for each = 128 bytes to copy).

Warning: Constant values cannot be used.
Parameters (v2)1) File handle (Integer) (INT)
2) Integer (INT)
3) Any value (ANY)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0A9E=3,write_to_file %1d% size %2d% from %3d%
Example0A9E: write_to_file 0@ size 128 from 0@
Command NameWRITE_TO_FILE

<< 0A9D

0A9F >>