GTAG - Modding - Opcode Database - 0AD5
Opcode Database
0AD5
| Description | Moves the pointer to a file on a specified number of bytes. Params: 1. Pointer to the file. 2. Number of bytes, which is carried out on a shift. 3. One of the numbers that determine what is carried on the shift. - 0: SEEK_SET - relative to the file; - 1: SEEK_CUR - relative to the current situation index; - 2: SEEK_END - about the end of the file. |
|---|---|
| Parameters (v2) | 1) File handle (Integer) (INT) 2) Integer (INT) 3) Integer (INT) |
| Games | |
| Category | CLEO 4 |
| San Andreas | |
| sascm.ini | 0AD5=3, file_seek %1d% offset %2d% origin %3d% |
| Example | 0AD5: file_seek $hFile offset 0x10 origin 1 |
| Command Name | FILE_SEEK |

