0066

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas SUB_INT_LVAR_FROM_INT_VAR


Description

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

Syntax

0066: [global var] -= [local var]
[global var] -= [local var]

Parameter

[global var]
Global variable
[local var]
Local variable

This opcode decrements the integer value of the global variable by the integer value of local variable.

Keywords

sub, decrement, global, 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
  • 0062 – subs int value of local var from int value of local 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
  • 0067 – subs float value of local var from float value of global var