GTAG - Modding - Opcode Database - 04B0
Opcode Database
04B0
| Description | Returns true if the value of the variable is higher than specified value. Is used with both floats and integers. In Rockstar Norths GTA3script compiler, this opcode is used where the value of a variables is compared with the value of a constant. |
|---|---|
| Parameters (v2) | 1) Global variable (VAR_INT) 2) Constant (INT) |
| Games | |
| Category | Conditional, Math |
| San Andreas | |
| sascm.ini | 04B0=2, %1d% > %2d% |
| Example | 04B0: $var > 4 |
| Command Name | IS_INT_VAR_GREATER_THAN_CONSTANT |
| Vice City | |
| sascm.ini | 04B0=2, %1d% > %2d% ; $ > constant |
| Example | 04B0: $var > 4 // $ > constant |

