0061

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

GTA III Vice City San Andreas SUB_FLOAT_VAR_FROM_FLOAT_VAR


Description

Subtracts the floating-point value of the global variable from the floating-point value of the global variable

Syntax

0061: [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 floating-point value of the global variable by the floating-point value of another global variable.

Keywords

sub, decrement, global, float, variable, math

See also

  • 0060 – subs int value of global var from int 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