Difference between revisions of "0009"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 13: Line 13:
  
 
== Keywords ==
 
== Keywords ==
global, variable, var, float, add
+
global, variable, var, float, add, [[math]]
  
 
== See also ==
 
== See also ==

Latest revision as of 09:44, 6 February 2015

GTA III Vice City San Andreas ADD_VAL_TO_FLOAT_VAR


Description

Adds the value stored in the global variable by the specified floating-point value

Syntax

0009: [global var] += [float]
[global var] += [float]

Parameter

[global var]
Global variable
[float]
Floating-point value

Keywords

global, variable, var, float, add, math

See also

  • 0008 – adds global var by int
  • 000A – adds local var by int
  • 000B – adds local var by flt