0059

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

GTA III Vice City San Andreas ADD_FLOAT_VAR_TO_FLOAT_VAR


Description

Adds the floating-point value of the global variable to the floating-point value of the global variable.

Syntax

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

Keywords

add, increment, global, float, variable, math

See also

  • 0058 – adds int value of global var to int value of global var
  • 005A – adds int value of local var to int value of local 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