005F

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas ADD_FLOAT_LVAR_TO_FLOAT_VAR


Description

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

Syntax

005F: [global var] += [local var]
[global var] += [local var]

Parameter

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

This opcode increments the floating-point value of the global variable by the floating-point value of local variable.

Keywords

add, increment, global, local, float, variable, math

See also

  • 0058 – adds int value of global var to int value of global var
  • 0059 – adds float value of global var to float 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