GTAG - Modding - Opcode Database - 0A9E
Opcode Database
0A9E
| Description | Copies 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) |
| Games | |
| Category | CLEO 3 |
| San Andreas | |
| sascm.ini | 0A9E=3,write_to_file %1d% size %2d% from %3d% |
| Example | 0A9E: write_to_file 0@ size 128 from 0@ |
| Command Name | WRITE_TO_FILE |

