GTAG - Modding - Opcode Database - 0AF0
Opcode Database
0AF0
| Description | Opcode reads an integer value from the ini-file and writes it to a variable. |
|---|---|
| Parameters (v2) | 1) File path (Long String) (STRING) 2) String (STRING) 3) String (STRING) 4) (Returned) Integer (INT) |
| Games | |
| Category | IniFiles |
| San Andreas | |
| sascm.ini | 0AF0=4,read_int_from_ini_file %1s% section %2s% key %3s% store_to %4d% |
| Example | 0AF0: read_int_from_ini_file "cleo\config.ini" section "SectionName" key "intKey" store_to 0@ |
| Command Name | READ_INT_FROM_INI_FILE |

