GTAG - Modding - Opcode Database - 0093
Opcode Database
0093
| Description | Converts the integer value of the second local variable to a float and stores the result to the first local variable. |
|---|---|
| Parameters (v2) | 1) (Returned) Float (LVAR_FLOAT) 2) Integer (INT) |
| Games | |
| Category | Common, Math |
| San Andreas | |
| sascm.ini | 0093=2,%1d% = int_to_float %2d% |
| Example | 0093: 0@ = int_to_float 1@ |
| Command Name | CSET_LVAR_FLOAT_TO_LVAR_INT |
| Vice City | |
| sascm.ini | 0093=2,%1d% = int_to_float %2d% |
| Example | 0093: 0@ = int_to_float 1@ |
| GTA III | |
| gtascm.ini | 0093=2,%1d% = int_to_float %2d% |
| Example | 0093: 0@ = int_to_float 1@ |

