GTAG - Modding - Opcode Database - 0AD7
Opcode Database
0AD7
Description | This opcode retrieves data from a file into a buffer until it encounters a new line. Params: 1. Pointer to the file. 2. String receiver. 3. Buffer size. Keep in mind the size of a variable string - 15 characters. Will return false if the string could not be read (due to end of file reached). |
---|---|
Parameters (v2) | 1) File handle (Integer) (INT) 2) String (ANY) 3) Integer (INT) |
Games | |
Category | CLEO 4 |
San Andreas | |
sascm.ini | 0AD7=3, read_string_from_file %1d% to %2d% size %3d% |
Example | 0AD7: read_string_from_file 0@ to 1@v size 15 |
Command Name | READ_STRING_FROM_FILE |