0060

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas SUB_INT_VAR_FROM_INT_VAR


Description

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

Syntax

0060: [global var 1] -= [global var 2]
[global var 1] -= [global var 2]

Parameter

[global var 1]
Global variable
[global var 2]
Global variable

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

Keywords

sub, decrement, global, integer, variable, math

See also

  • 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
  • 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