Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 04A4

Opcode Database

04A4

DescriptionReturns 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)
Gamessa vc
CategoryConditional, Math
San Andreas
sascm.ini04A4=2, %1d% == %2h%
Example04A4: 17@ == 3
Command NameIS_INT_LVAR_EQUAL_TO_CONSTANT
Vice City
sascm.ini04A4=2, %1d% == %2h% ;; == constant
Example04A4: 17@ == 3 // @ == constant

<< 04A3

04A5 >>