Difference between revisions of "0019"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 0019=2, %1d% > %2d% | description = Checks if a value of a specific local variable is bigger than an integer value. | p1 = local variable | p2 …')
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''IS_INT_LVAR_GREATER_THAN_NUMBER'''
| ini        = 0019=2, %1d% > %2d%
+
<hr />
| description = Checks if a value of a specific local variable is bigger than an integer value.
+
'''Description'''
| p1          = local variable
+
: Checks if the integer value stored in the local variable is greater than the integer number
| p2          = integer value
+
'''Syntax'''
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
: 0019:  [''local var''] > [''int'']
}}
+
: [''local var''] > [''int'']
This is an conditional opcode which checks if a value of a specific local variable is bigger than an integer value.
+
'''Parameter'''
 +
: [''local var'']
 +
:: Local variable
 +
: [''int'']
 +
:: Integer value
  
==Sanny Builder Example==
+
== Keywords ==
 +
local, variable, var, integer, comparison, check, greater
  
<source lang="scm">0019: 0@ > 0</source>
+
== See also ==
 +
* [[0018]] &ndash; checks if the int value in the global var is greater than the int number
 +
* [[001A]] &ndash; checks if the int number is greater than the int value in the global var
 +
* [[001B]] &ndash; checks if the int number is greater than the int value in the local var
  
==Keywords==
+
[[Category:OpCodes]]
compare, local variable, math, integer, bigger
 
 
 
[[Category:Math_OpCodes]]
 

Latest revision as of 09:53, 12 February 2015

GTA III Vice City San Andreas IS_INT_LVAR_GREATER_THAN_NUMBER


Description

Checks if the integer value stored in the local variable is greater than the integer number

Syntax

0019: [local var] > [int]
[local var] > [int]

Parameter

[local var]
Local variable
[int]
Integer value

Keywords

local, variable, var, integer, comparison, check, greater

See also

  • 0018 – checks if the int value in the global var is greater than the int number
  • 001A – checks if the int number is greater than the int value in the global var
  • 001B – checks if the int number is greater than the int value in the local var