Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 04B1

Opcode Database

04B1

DescriptionReturns true if the value of the variable is higher than specified value. Is used with both floats and integers.

In Rockstars native compiler, this opcode is used where the value of a variables is compared with the value of a constant.
Parameters (v2)1) Local variable (VAR_INT)
2) Constant (INT)
Gamessa vc
CategoryConditional, Math
San Andreas
sascm.ini04B1=2, %1d% > %2d%
Example04B1: 2@ > 4.0
Command NameIS_INT_LVAR_GREATER_THAN_CONSTANT
Vice City
sascm.ini04B1=2, %1d% > %2d% ;; @ > constant
Example04B1: 2@ > 4.0 // @ > constant

<< 04B0

04B2 >>