005A

From GTAMods Wiki
Revision as of 08:32, 13 February 2015 by Seemann (talk | contribs) (Created page with "{{Icon|trilogy}} '''ADD_INT_LVAR_TO_INT_LVAR''' <hr /> '''Description''' : Adds the integer value of the local variable to the integer value of the local variable. '''Syntax''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas ADD_INT_LVAR_TO_INT_LVAR


Description

Adds the integer value of the local variable to the integer value of the local variable.

Syntax

005A: [local var 1] += [local var 2]
[local var 1] += [local var 2]

Parameter

[local var 1]
Local variable
[local var 2]
Local variable

This opcode increments the integer value of the local variable by the integer value of another local variable.

Keywords

add, increment, local, integer, variable, math

See also

  • 0058 – adds int value of global var to int value of global var
  • 0059 – adds float value of global var to float value of global var
  • 005B – adds float value of local var to float value of local var
  • 005C – adds int value of global var to int value of local var
  • 005D – adds float value of global var to float value of local var
  • 005E – adds int value of local var to int value of global var
  • 005F – adds float value of local var to float value of global var