Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 04B6

Opcode Database

04B6

DescriptionReturns true if the variable is equivalent to or lower than the 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) Constant (INT)
2) Global variable (VAR_INT)
Gamessa vc
CategoryConditional, Math
San Andreas
sascm.ini04B6=2, %1d% >= %2d%
Example04B6: 42.0 >= $var
Command NameIS_CONSTANT_GREATER_OR_EQUAL_TO_INT_VAR
Vice City
sascm.ini04B6=2, %1d% >= %2d% ; constant >= $
Example04B6: 42.0 >= $var // constant >= $

<< 04B5

04B7 >>