0062

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

GTA III Vice City San Andreas SUB_INT_LVAR_FROM_INT_LVAR


Description

Subtracts the integer value of the local variable from the integer value of the local variable

Syntax

0062: [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 decrements the integer value of the local variable by the integer value of another local variable.

Keywords

sub, decrement, local, integer, variable, math

See also

  • 0060 – subs int value of global var from int value of global var
  • 0061 – subs float value of global var from float value of global var
  • 0063 – subs float value of local var from float value of local var
  • 0064 – subs int value of global var from int value of local var
  • 0065 – subs float value of global var from float value of local var
  • 0066 – subs int value of local var from int value of global var
  • 0067 – subs float value of local var from float value of global var