GTAG - Modding - Opcode Database - 0020
Opcode Database
0020
| Description | Returns true if the float VAR value is greater than the float value. |
|---|---|
| Parameters (v2) | 1) Global variable (VAR_FLOAT) 2) Float (FLOAT) |
| Games | |
| Category | Common, Conditional, Math |
| San Andreas | |
| sascm.ini | 0020=2, %1d% > %2d% |
| Example | 0020: $HJ_TWOWHEELS_DISTANCE_FLOAT > 0.0 |
| Command Name | IS_FLOAT_VAR_GREATER_THAN_NUMBER |
| Vice City | |
| sascm.ini | 0020=2, %1d% > %2d% |
| Example | 0020: $765 > 180.0 |
| GTA III | |
| gtascm.ini | 0020=2, %1d% > %2d% |
| Example | 0020: $430 > -9.9999 |

