GTAG - Modding - Opcode Database - 04B2
Opcode Database
04B2
| Description | Returns true if the value of the variable is lower than specified value. Is used with both floats and integers. In Rockstars native compiler, this opcode is used where the value of a variable 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 | 04B2=2, %1d% > %2d% |
| Example | 04B2: 6 > $var |
| Command Name | IS_CONSTANT_GREATER_THAN_INT_VAR |
| Vice City | |
| sascm.ini | 04B2=2, %1d% > %2d% ; constant > $ |
| Example | 04B2: 6 > $var // constant > $ |

