GTAG - Modding - Opcode Database - 04A4
Opcode Database
04A4
| Description | Returns true if the first Local Variable is equivalent to the second. Is used with both floats and integers. In Rockstar Norths GTA3script compiler, this opcode is used when testing the value of a variable against that of a constant. |
|---|---|
| Parameters (v2) | 1) Local variable (VAR_INT) 2) Constant (INT) |
| Games | |
| Category | Conditional, Math |
| San Andreas | |
| sascm.ini | 04A4=2, %1d% == %2h% |
| Example | 04A4: 17@ == 3 |
| Command Name | IS_INT_LVAR_EQUAL_TO_CONSTANT |
| Vice City | |
| sascm.ini | 04A4=2, %1d% == %2h% ;; == constant |
| Example | 04A4: 17@ == 3 // @ == constant |

