Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AD5

Opcode Database

0AD5

DescriptionMoves 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)
Gamessa
CategoryCLEO 4
San Andreas
sascm.ini0AD5=3, file_seek %1d% offset %2d% origin %3d%
Example0AD5: file_seek $hFile offset 0x10 origin 1
Command NameFILE_SEEK

<< 0AD4

0AD6 >>