GTAG - Modding - Opcode Database - 0024
Opcode Database
0024
| Description | Returns true if the float VAR value is greater than the other float VAR value. |
|---|---|
| Parameters (v2) | 1) Global variable (VAR_FLOAT) 2) Global variable (VAR_FLOAT) |
| Games | |
| Category | Common, Conditional, Math |
| San Andreas | |
| sascm.ini | 0024=2, %1d% > %2d% |
| Example | 0024: $HJ_CAR_Z > $HJ_CAR_Z_MAX |
| Command Name | IS_FLOAT_VAR_GREATER_THAN_FLOAT_VAR |
| Vice City | |
| sascm.ini | 0024=2, %1d% > %2d% |
| Example | 0024: $752 > $749 |
| GTA III | |
| gtascm.ini | 0024=2, %1d% > %2d% |
| Example | 0024: $CURRENT_Z > $HEIGHEST_Z |

