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

