GTAG - Modding - Opcode Database - 008D
Opcode Database
008D
| Description | Converts the integer value of the second global variable to a float and stores the result in the first global variable. |
|---|---|
| Parameters (v2) | 1) (Returned) Float (VAR_FLOAT) 2) Integer (INT) |
| Games | |
| Category | Common, Math |
| San Andreas | |
| sascm.ini | 008D=2,%1d% = int_to_float %2d% |
| Example | 008D: $int = integer_to_float $float |
| Command Name | CSET_VAR_FLOAT_TO_VAR_INT |
| Vice City | |
| sascm.ini | 008d=2,%1d% = integer_to_float %2d% |
| Example | 008D: $int = integer_to_float $float |
| GTA III | |
| gtascm.ini | 008d=2,%1d% = integer_to_float %2d% |
| Example | 008D: $int = integer_to_float $float |

