GTAG - Modding - Opcode Database - 0015
Opcode Database
0015
| Description | Divides the float VAR by the value. |
|---|---|
| Parameters (v2) | 1) (Returned) Global variable (VAR_FLOAT) 2) Float (FLOAT) |
| Games | |
| Category | Common, Math |
| San Andreas | |
| sascm.ini | 0015=2,%1d% /= %2d% |
| Example | 0015: $EXPORT_PRICE_HEALTH_MULTIPLIER /= 1000.0 |
| Command Name | DIV_FLOAT_VAR_BY_VAL |
| Vice City | |
| sascm.ini | 0015=2,%1d% /= %2d% |
| Example | 0015: $93 /= 2.0 |
| GTA III | |
| gtascm.ini | 0015=2,%1d% /= %2d% |
| Example | 0015: $3 /= 2.0 |

