GTAG - Modding - Opcode Database - 008F
Opcode Database
008F
| Description | Converts the integer value of the global variable to a float and then stores the result in the local variable. |
|---|---|
| Parameters (v2) | 1) (Returned) Local variable (LVAR_FLOAT) 2) Integer (INT) |
| Games | |
| Category | Common, Math |
| San Andreas | |
| sascm.ini | 008F=2,%1d% = int_to_float %2d% |
| Example | 008F: 0@ = int_to_float $int |
| Command Name | CSET_LVAR_FLOAT_TO_VAR_INT |
| Vice City | |
| sascm.ini | 008f=2,%1d% = integer_to_float %2d% |
| Example | 008F: 0@ = int_to_float $int |
| GTA III | |
| gtascm.ini | 008f=2,%1d% = integer_to_float %2d% |
| Example | 008F: 0@ = int_to_float $int |

